/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-03-14 20:12:19 UTC
  • Revision ID: jelmer@samba.org-20110314201219-wo692nzwywu6mevh
Fix formatting, imports.

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
 
412
413
                prev_menu.hide()
413
414
 
414
415
            if getattr(self.prev_button, 'set_menu', None) is not None:
415
 
                self.prev_button.set_menu(prev_menu)
 
416
                self.prev_button.set_menu(prev_menu)
416
417
 
417
418
            next_menu = gtk.Menu()
418
419
            if len(children) > 0:
433
434
                next_menu.hide()
434
435
 
435
436
            if getattr(self.next_button, 'set_menu', None) is not None:
436
 
                self.next_button.set_menu(next_menu)
 
437
                self.next_button.set_menu(next_menu)
437
438
 
438
439
            self.revisionview.set_revision(revision)
439
440
            self.revisionview.set_children(children)