/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 viz/branchwin.py

  • Committer: Daniel Schierbeck
  • Date: 2007-11-07 14:22:16 UTC
  • Revision ID: daniel.schierbeck@gmail.com-20071107142216-4qz1x0ng2w7317xk
Fixed bug with compact view toggling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
        self.construct()
70
70
 
71
 
    def set_revision(self, revision):
72
 
        self.treeview.set_revision(revision)
 
71
    def set_revision(self, revid):
 
72
        self.treeview.set_revision_id(revid)
73
73
 
74
74
    def construct(self):
75
75
        """Construct the window contents."""
82
82
        vbox.pack_start(self.construct_navigation(), expand=False, fill=True)
83
83
        vbox.pack_start(self.construct_loading_msg(), expand=False, fill=True)
84
84
        
85
 
        paned = gtk.VPaned()
86
 
        paned.pack1(top, resize=True, shrink=False)
87
 
        paned.pack2(self.construct_bottom(), resize=False, shrink=True)
88
 
        paned.show()
89
 
        vbox.pack_start(paned, expand=True, fill=True)
90
 
        vbox.set_focus_child(paned)
 
85
        self.paned = gtk.VPaned()
 
86
        self.paned.pack1(top, resize=True, shrink=False)
 
87
        self.paned.pack2(self.construct_bottom(), resize=False, shrink=True)
 
88
        self.paned.show()
 
89
        vbox.pack_start(self.paned, expand=True, fill=True)
 
90
        vbox.set_focus_child(self.paned)
91
91
 
92
92
        vbox.show()
93
93