Exemplo n.º 1
0
def load_commitmsg(parent):
    """Load a commit message from a file."""
    filename = qtutils.open_dialog(parent,
                                   'Load Commit Message...',
                                   cola.model().getcwd())
    if filename:
        cola.notifier().broadcast(signals.load_commit_message, filename)
Exemplo n.º 2
0
def load_commitmsg():
    """Load a commit message from a file."""
    filename = qtutils.open_dialog(N_('Load Commit Message'),
                                   cola.model().getcwd())
    if filename:
        cmds.do(cmds.LoadCommitMessage, filename)
Exemplo n.º 3
0
def load_commitmsg():
    """Load a commit message from a file."""
    filename = qtutils.open_dialog('Load Commit Message...',
                                   cola.model().getcwd())
    if filename:
        cola.notifier().broadcast(signals.load_commit_message, filename)
Exemplo n.º 4
0
def load_commitmsg():
    """Load a commit message from a file."""
    filename = qtutils.open_dialog(N_('Load Commit Message'),
                                   cola.model().getcwd())
    if filename:
        cmds.do(cmds.LoadCommitMessage, filename)