/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

  • Committer: Daniel Schierbeck
  • Date: 2007-10-21 16:25:29 UTC
  • Revision ID: daniel.schierbeck@gmail.com-20071021162529-tc18s8lxywv2aitu
Removed BranchWindow.set_branch(), used constructor instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
742
742
    
743
743
    def on_menuitem_stats_log_activate(self, widget):
744
744
        """ Statistics/Log... menu handler. """
745
 
        window = branchwin.BranchWindow(parent=self.window)
 
745
 
746
746
        if not self.remote:
747
 
            window.set_branch(self.wt.branch, self.wt.branch.last_revision(), None)
 
747
            branch = self.wt.branch
748
748
        else:
749
 
            window.set_branch(self.remote_branch, self.remote_branch.last_revision(), None)
 
749
            branch = self.remote_branch
 
750
 
 
751
        window = branchwin.BranchWindow(branch, branch.last_revision(), None, parent=self.window)
750
752
        window.show()
751
753
    
752
754
    def on_menuitem_view_refresh_activate(self, widget):