/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 branchview/treeview.py

  • Committer: Jelmer Vernooij
  • Date: 2008-04-25 20:23:28 UTC
  • mfrom: (464.2.1 gtk)
  • Revision ID: jelmer@samba.org-20080425202328-3cpit50s53ow5410
Merge patch from Adrian dealing with null revision in a couple of places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
        self.index = index
302
302
        self.treeview.set_model(self.model)
303
303
 
304
 
        if revision is None:
 
304
        if not revision or revision == NULL_REVISION:
305
305
            self.treeview.set_cursor(0)
306
306
        else:
307
307
            self.set_revision(revision)