/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: Jelmer Vernooij
  • Date: 2011-04-06 14:00:46 UTC
  • mfrom: (727 trunk)
  • mto: This revision was merged to the branch mainline in revision 731.
  • Revision ID: jelmer@samba.org-20110406140046-xa42a1ce8a5bgq7p
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from bzrlib.revision import NULL_REVISION
21
21
from bzrlib.trace import mutter
22
22
 
 
23
 
23
24
class BranchWindow(Window):
24
25
    """Branch window.
25
26
 
431
432
                prev_menu.hide()
432
433
 
433
434
            if getattr(self.prev_button, 'set_menu', None) is not None:
434
 
                self.prev_button.set_menu(prev_menu)
 
435
                self.prev_button.set_menu(prev_menu)
435
436
 
436
437
            next_menu = gtk.Menu()
437
438
            if len(children) > 0:
452
453
                next_menu.hide()
453
454
 
454
455
            if getattr(self.next_button, 'set_menu', None) is not None:
455
 
                self.next_button.set_menu(next_menu)
 
456
                self.next_button.set_menu(next_menu)
456
457
 
457
458
            self.revisionview.set_revision(revision)
458
459
            self.revisionview.set_children(children)