[Pkg-bazaar-commits] ./bzr-gtk/unstable r523: Fix starting "bzr viz" from olive.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:44:49 UTC 2009


------------------------------------------------------------
revno: 523
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-06-30 14:15:06 +0200
message:
  Fix starting "bzr viz" from olive.
modified:
  olive/__init__.py
  olive/menu.py
-------------- next part --------------
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py	2008-06-29 22:18:24 +0000
+++ b/olive/__init__.py	2008-06-30 12:15:06 +0000
@@ -776,7 +776,8 @@
         else:
             branch = self.remote_branch
 
-        window = branchwin.BranchWindow(branch, branch.last_revision(), None, parent=self.window)
+        window = branchwin.BranchWindow(branch, [branch.last_revision()], None, 
+                                        parent=self.window)
         window.show()
     
     def on_menuitem_view_refresh_activate(self, widget):

=== modified file 'olive/menu.py'
--- a/olive/menu.py	2008-06-29 18:31:29 +0000
+++ b/olive/menu.py	2008-06-30 12:15:06 +0000
@@ -30,13 +30,12 @@
 import bzrlib.errors as errors
 from bzrlib.workingtree import WorkingTree
 
-from bzrlib.plugins.gtk import _i18n
+from bzrlib.plugins.gtk import _i18n, launch
 from bzrlib.plugins.gtk.dialog import error_dialog, info_dialog, question_dialog, warning_dialog
 from bzrlib.plugins.gtk.errors import show_bzr_error
 from bzrlib.plugins.gtk.annotate.gannotate import GAnnotateWindow
 from bzrlib.plugins.gtk.annotate.config import GAnnotateConfig
 from bzrlib.plugins.gtk.diff import DiffWindow
-from launch import launch
 from bzrlib.plugins.gtk.olive import Preferences
 
 class OliveMenu:



More information about the Pkg-bazaar-commits mailing list