/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-03-09 13:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: jelmer@samba.org-20080309134752-syf9kwzy6e919jhj
Add note about python-nautilus requiring a libpythonXX.so symlink.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
import re
15
15
import treemodel
16
16
 
17
 
from bzrlib.plugins.gtk import _i18n
18
17
from linegraph import linegraph, same_branch
19
18
from graphcell import CellRendererGraph
20
19
from treemodel import TreeModel
302
301
        self.index = index
303
302
        self.treeview.set_model(self.model)
304
303
 
305
 
        if not revision or revision == NULL_REVISION:
 
304
        if revision is None:
306
305
            self.treeview.set_cursor(0)
307
306
        else:
308
307
            self.set_revision(revision)
398
397
                                                 gtk.ICON_SIZE_BUTTON)
399
398
        image_loading.show()
400
399
        
401
 
        label_loading = gtk.Label(
402
 
            _i18n("Please wait, loading ancestral graph..."))
 
400
        label_loading = gtk.Label(_("Please wait, loading ancestral graph..."))
403
401
        label_loading.set_alignment(0.0, 0.5)
404
402
        label_loading.show()
405
403