Esempio n. 1
0
    def __init__(self, model, view):
        Controller.__init__(self, model, view)

        self.add_global_command(signals.amend_mode)
        self.add_global_command(signals.diffstat)
        self.add_global_command(signals.load_commit_message)
        self.add_global_command(signals.load_commit_template)
        self.add_global_command(signals.load_previous_message)
        self.add_global_command(signals.rescan)
        self.add_global_command(signals.reset_mode)
        self.add_global_command(signals.run_config_action)
        self.add_global_command(signals.signoff)
        self.add_global_command(signals.stage_untracked)
        self.add_global_command(signals.stage_modified)
        self.add_global_command(signals.stage_untracked)
        self.add_global_command(signals.unstage_all)
        self.add_global_command(signals.unstage_selected)
        self.add_global_command(signals.visualize_all)
        self.add_global_command(signals.visualize_current)
Esempio n. 2
0
    def __init__(self, model, view):
        Controller.__init__(self, model, view)

        self.add_global_command(signals.amend_mode)
        self.add_global_command(signals.diffstat)
        self.add_global_command(signals.load_commit_message)
        self.add_global_command(signals.load_commit_template)
        self.add_global_command(signals.load_previous_message)
        self.add_global_command(signals.rescan)
        self.add_global_command(signals.rescan_and_refresh)
        self.add_global_command(signals.reset_mode)
        self.add_global_command(signals.run_config_action)
        self.add_global_command(signals.signoff)
        self.add_global_command(signals.stage_untracked)
        self.add_global_command(signals.stage_modified)
        self.add_global_command(signals.stage_untracked)
        self.add_global_command(signals.unstage_all)
        self.add_global_command(signals.unstage_selected)
        self.add_global_command(signals.visualize_all)
        self.add_global_command(signals.visualize_current)
Esempio n. 3
0
 def __init__(self, model, view):
     Controller.__init__(self, model, view)
     self.add_commands(command_directory)
Esempio n. 4
0
 def __init__(self, view):
     Controller.__init__(self, None, view)
     self.add_commands(command_directory)
Esempio n. 5
0
 def __init__(self, model, view):
     Controller.__init__(self, model, view)
     command_directory = {
         save_blob: SaveBlob,
     }
     self.add_commands(command_directory)
Esempio n. 6
0
 def __init__(self, model, view):
     Controller.__init__(self, model, view)
     command_directory = {
         save_blob: SaveBlob,
     }
     self.add_commands(command_directory)
Esempio n. 7
0
 def __init__(self, model, view):
     Controller.__init__(self, model, view)