/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: Javier Derderian
  • Date: 2008-04-11 20:34:06 UTC
  • mto: (465.1.1 gtk.patch)
  • mto: This revision was merged to the branch mainline in revision 466.
  • Revision ID: javierder@gmail.com-20080411203406-ftlwyodw9vr87olv
Updated "Compare with..." (#78765) to use revbrowser.RevisionBrowser.
Also needed to fix #215872 to make it work.

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