/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

Add options to viz treeview to not show the line graph, and to only show the main line.
Set the revision browser to use these options.

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)