[Pkg-bazaar-commits] ./bzr-gtk/unstable r369: Fixed bug with compact view toggling.

Daniel Schierbeck daniel.schierbeck at gmail.com
Fri Apr 10 07:45:10 UTC 2009


------------------------------------------------------------
revno: 369
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: menubar
timestamp: Wed 2007-11-07 15:22:16 +0100
message:
  Fixed bug with compact view toggling.
modified:
  viz/branchwin.py
-------------- next part --------------
=== modified file 'viz/branchwin.py'
--- a/viz/branchwin.py	2007-11-07 14:19:09 +0000
+++ b/viz/branchwin.py	2007-11-07 14:22:16 +0000
@@ -68,8 +68,8 @@
 
         self.construct()
 
-    def set_revision(self, revision):
-        self.treeview.set_revision(revision)
+    def set_revision(self, revid):
+        self.treeview.set_revision_id(revid)
 
     def construct(self):
         """Construct the window contents."""
@@ -82,12 +82,12 @@
         vbox.pack_start(self.construct_navigation(), expand=False, fill=True)
         vbox.pack_start(self.construct_loading_msg(), expand=False, fill=True)
         
-        paned = gtk.VPaned()
-        paned.pack1(top, resize=True, shrink=False)
-        paned.pack2(self.construct_bottom(), resize=False, shrink=True)
-        paned.show()
-        vbox.pack_start(paned, expand=True, fill=True)
-        vbox.set_focus_child(paned)
+        self.paned = gtk.VPaned()
+        self.paned.pack1(top, resize=True, shrink=False)
+        self.paned.pack2(self.construct_bottom(), resize=False, shrink=True)
+        self.paned.show()
+        vbox.pack_start(self.paned, expand=True, fill=True)
+        vbox.set_focus_child(self.paned)
 
         vbox.show()
 



More information about the Pkg-bazaar-commits mailing list