/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 revbrowser.py

  • Committer: Jelmer Vernooij
  • Date: 2008-03-14 02:13:27 UTC
  • mto: (452.2.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: jelmer@samba.org-20080314021327-q1pabtpneeasz8qv
Fix support for default value in BranchSelectionDialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import gtk
27
27
 
28
28
from bzrlib.osutils import format_date
29
 
from bzrlib.plugins.gtk import _i18n
30
29
from bzrlib.plugins.gtk.branchview.treeview import TreeView
31
30
 
32
31
 
42
41
        self.branch = branch
43
42
        
44
43
        # Create the widgets
45
 
        self._button_select = gtk.Button(_i18n("_Select"), use_underline=True)
46
 
        start_revs = [branch.last_revision(),]
47
 
        self.treeview = TreeView(branch, start_revs, None)
 
44
        self._button_select = gtk.Button(_("_Select"), use_underline=True)
 
45
        self.treeview = TreeView(branch,branch.last_revision(), None)
48
46
        
49
47
        # Set callbacks
50
48
        self._button_select.connect('clicked', self._on_select_clicked)