/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/__init__.py

Merge Johns' gcommit improvements and fix conflicts against trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
502
502
    @show_bzr_error
503
503
    def on_menuitem_branch_commit_activate(self, widget):
504
504
        """ Branch/Commit... menu handler. """
505
 
        commit = CommitDialog(self.wt, self.wtpath, self.notbranch, self.get_selected_right(), self.window)
 
505
#     def __init__(self, wt, wtpath, notbranch, selected=None, parent=None):
 
506
        selected = self.get_selected_right()
 
507
        if selected:
 
508
            selected = os.path.join(self.wtpath, selected)
 
509
        commit = CommitDialog(wt=self.wt,
 
510
                              parent=self.window,
 
511
                              selected=selected,
 
512
                             )
506
513
        response = commit.run()
507
514
        if response != gtk.RESPONSE_NONE:
508
515
            commit.hide()