Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: move view menu to toolbar

Changeset cf21ae7a63fd

Parent 2ec863d571cd

by Adrian Buehlmann

Changes to one file · Browse files at cf21ae7a63fd Showing diff from parent 2ec863d571cd Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​history.py Stacked
 
82
83
84
85
 
 
86
87
88
 
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
 
82
83
84
 
85
86
87
88
89
 
549
550
551
 
 
 
 
 
 
 
 
 
552
553
554
@@ -82,7 +82,8 @@
  self.nextbutton = self.make_toolbutton(gtk.STOCK_GO_DOWN,   _('Load more'), self.more_clicked, tip=_('load more revisions'))   self.allbutton = self.make_toolbutton(gtk.STOCK_GOTO_BOTTOM, - _('Load all'), self.load_all_clicked, tip=_('load all revisions')) + _('Load all'), self.load_all_clicked, menu=self.view_menu(), + tip=_('load all revisions'))   tbar += [sep, self.nextbutton, self.allbutton]     return tbar @@ -548,15 +549,6 @@
  self.filterentry = entry   filterbox.pack_start(entry, True)   - colmenu = gtk.MenuToolButton('') - colmenu.set_menu(self.view_menu()) - # A MenuToolButton has two parts; a Button and a ToggleButton - # we want to see the togglebutton, but not the button - b = colmenu.child.get_children()[0] - b.unmap() - b.set_sensitive(False) - filterbox.pack_start(colmenu, False, False) -   vbox = gtk.VBox()   vbox.pack_start(filterbox, False, False, 0)   vbox.pack_start(self.graphview, True, True, 0)