/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 logview.py

  • Committer: John Arbash Meinel
  • Date: 2007-10-30 20:36:16 UTC
  • mfrom: (322.1.1 trunk)
  • mto: (330.3.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: john@arbash-meinel.com-20071030203616-op14zvvmflw6ds1n
Merge in Jelmer's trunk update + conflict resolution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        self.tags_list.show_all()
153
153
        self.tags_label.show_all()
154
154
        
155
 
 
156
155
    def _add_parents_or_children(self, revids, widgets, table):
157
156
        while len(widgets) > 0:
158
157
            widget = widgets.pop()
197
196
        vbox = gtk.VBox(False, 6)
198
197
        vbox.set_border_width(6)
199
198
        vbox.pack_start(self._create_headers(), expand=False, fill=True)
200
 
        vbox.pack_start(self._create_parents_and_children(), expand=False, fill=True)
201
 
        vbox.pack_start(self._create_message_view(), expand=True, fill=True)
 
199
        vbox.pack_start(self._create_parents(), expand=False, fill=True)
 
200
        if self.show_children:
 
201
            vbox.pack_start(self._create_children(), expand=False, fill=True)
 
202
        vbox.pack_start(self._create_message_view())
202
203
        vbox.pack_start(self._create_file_info_view(), expand=True, fill=True)
203
204
        self.add_with_viewport(vbox)
204
205
        vbox.show()
309
310
        return self.table
310
311
 
311
312
    
312
 
    def _create_parents_and_children(self):
313
 
        hbox = gtk.HBox(True, 6)
 
313
    def _create_parents(self):
 
314
        hbox = gtk.HBox(True, 3)
314
315
        
315
316
        self.parents_table = self._create_parents_or_children_table(
316
317
            "<b>Parents:</b>")
317
318
        self.parents_widgets = []
318
319
        hbox.pack_start(self.parents_table)
319
 
        
320
 
        if self.show_children:
321
 
            self.children_table = self._create_parents_or_children_table(
322
 
                "<b>Children:</b>")
323
 
            self.children_widgets = []
324
 
            hbox.pack_start(self.children_table)
325
 
        
 
320
 
 
321
        hbox.show()
 
322
        return hbox
 
323
 
 
324
    def _create_children(self):
 
325
        hbox = gtk.HBox(True, 3)
 
326
        self.children_table = self._create_parents_or_children_table(
 
327
            "<b>Children:</b>")
 
328
        self.children_widgets = []
 
329
        hbox.pack_start(self.children_table)
326
330
        hbox.show()
327
331
        return hbox
328
332