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

  • Committer: John Arbash Meinel
  • Date: 2007-10-30 22:08:56 UTC
  • mto: (330.3.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: john@arbash-meinel.com-20071030220856-hwzts1kv6dwoeumj
For the moment, just hide the section headings Files and Diff for *.
Otherwise we have to remove all the logic for changing the section name,
but I want to wait until we are sure we don't want it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
    def _construct_file_list(self):
355
355
        self._files_box = gtk.VBox(homogeneous=False, spacing=0)
356
356
        file_label = gtk.Label(_('Files'))
357
 
        file_label.show()
 
357
        # file_label.show()
358
358
        self._files_box.pack_start(file_label, expand=False)
359
359
 
360
360
        scroller = gtk.ScrolledWindow()
450
450
    def _construct_diff_view(self):
451
451
        from diff import DiffView
452
452
 
 
453
        # TODO: jam 2007-10-30 The diff label is currently disabled. If we
 
454
        #       decide that we really don't ever want to display it, we should
 
455
        #       actually remove it, and other references to it, along with the
 
456
        #       tests that it is set properly.
453
457
        self._diff_label = gtk.Label(_('Diff for whole tree'))
454
458
        self._diff_label.set_alignment(0, 0)
455
459
        self._right_pane_table.set_row_spacing(self._right_pane_table_row, 0)
456
460
        self._add_to_right_table(self._diff_label, 1, False)
457
 
        self._diff_label.show()
 
461
        # self._diff_label.show()
458
462
 
459
463
        self._diff_view = DiffView()
460
464
        self._add_to_right_table(self._diff_view, 4, True)