/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/menu.py

  • Committer: Jasper Groenewegen
  • Author(s): Didier Roche
  • Date: 2008-08-06 14:25:18 UTC
  • mto: This revision was merged to the branch mainline in revision 598.
  • Revision ID: colbrac@xs4all.nl-20080806142518-q0nl17asx0om341z
Change Olive desktop file details

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
    
283
283
    def commit(self, action):
284
284
        """ Right context menu -> Commit """
285
 
        from bzrlib.plugins.gtk.commit import CommitDialog
 
285
        from commit import CommitDialog
286
286
        branch = None
287
287
        try:
288
288
            wt, path = WorkingTree.open_containing(self.path)
310
310
        wt = WorkingTree.open_containing(self.path)[0]
311
311
        window = DiffWindow(self.app)
312
312
        parent_tree = wt.branch.repository.revision_tree(wt.branch.last_revision())
313
 
        window.set_diff(wt.branch._get_nick(local=True), wt, parent_tree)
 
313
        window.set_diff(wt.branch.nick, wt, parent_tree)
314
314
        window.set_file(wt.relpath(self.path + os.sep + self.selected))
315
315
        window.show()
316
316
    
367
367
        wt = WorkingTree.open_containing(self.path)[0]
368
368
        window = DiffWindow(self.app)
369
369
        parent_tree = wt.branch.repository.revision_tree(wt.branch.last_revision())
370
 
        window.set_diff(wt.branch._get_nick(local=True), wt, parent_tree)
 
370
        window.set_diff(wt.branch.nick, wt, parent_tree)
371
371
        window.show()
372
372
    
373
373
    def view_remote(self, action):