/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: John Arbash Meinel
  • Date: 2007-11-02 22:29:12 UTC
  • mfrom: (330 trunk)
  • mto: (330.3.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: john@arbash-meinel.com-20071102222912-ei8ll3bla3w2h2gp
Merge in trunk, and update logview per-file commit messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
    def construct(self):
67
67
        """Construct the window contents."""
68
 
        vbox = gtk.VBox(spacing=0)
 
68
        vbox = gtk.VBox(spacing=5)
69
69
        self.add(vbox)
70
70
 
71
71
        vbox.pack_start(self.construct_navigation(), expand=False, fill=True)
100
100
 
101
101
    def construct_top(self):
102
102
        """Construct the top-half of the window."""
103
 
        self.treeview = TreeView(self.branch, self.start, self.maxnum)
 
103
        # FIXME: Make broken_line_length configurable
 
104
        self.treeview = TreeView(self.branch, self.start, self.maxnum, 32)
104
105
 
105
106
        self.treeview.connect("revision-selected",
106
107
                self._treeselection_changed_cb)
140
141
    def construct_bottom(self):
141
142
        """Construct the bottom half of the window."""
142
143
        from bzrlib.plugins.gtk.logview import LogView
143
 
        self.logview = LogView(None, True, [], True)
 
144
        self.logview = LogView(None, True, [], True, branch=self.branch)
144
145
        (width, height) = self.get_size()
145
146
        self.logview.set_size_request(width, int(height / 2.5))
146
147
        self.logview.show()