Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

gtklib: add method to append a separator to the SlimToolbar

Changeset c998501a9fc3

Parent 2531d02fa037

by Yuki KODAMA

Changes to 2 files · Browse files at c998501a9fc3 Showing diff from parent 2531d02fa037 Diff from another changeset...

 
617
618
619
 
 
 
620
621
622
 
617
618
619
620
621
622
623
624
625
@@ -617,6 +617,9 @@
  def append_space(self):   self.append_widget(gtk.Label(), expand=True, padding=0)   + def append_separator(self): + self.append_widget(gtk.VSeparator()) +  class MenuItems(object):   '''controls creation of menus by ignoring separators at odd places'''  
 
1046
1047
1048
1049
 
1050
1051
1052
 
1055
1056
1057
1058
 
1059
1060
1061
1062
1063
1064
1065
 
1066
1067
1068
 
1046
1047
1048
 
1049
1050
1051
1052
 
1055
1056
1057
 
1058
1059
1060
1061
1062
1063
1064
 
1065
1066
1067
1068
@@ -1046,7 +1046,7 @@
    refresh = syncbox.append_stock(gtk.STOCK_REFRESH,   _('Reload revision history')) - syncbox.append_widget(gtk.VSeparator()) + syncbox.append_separator()   incoming = syncbox.append_stock(gtk.STOCK_GO_DOWN,   _('Download and view incoming changesets'))   apply = syncbox.append_stock(gtk.STOCK_APPLY, @@ -1055,14 +1055,14 @@
  _('Reject changes from Bundle preview'))   pull = syncbox.append_stock(gtk.STOCK_GOTO_BOTTOM,   _('Pull incoming changesets')) - syncbox.append_widget(gtk.VSeparator()) + syncbox.append_separator()   outgoing = syncbox.append_stock(gtk.STOCK_GO_UP,   _('Determine and mark outgoing changesets'))   push = syncbox.append_stock(gtk.STOCK_GOTO_TOP,   _('Push outgoing changesets'))   email = syncbox.append_stock(gtk.STOCK_GOTO_LAST,   _('Email outgoing changesets')) - syncbox.append_widget(gtk.VSeparator()) + syncbox.append_separator()   stop = syncbox.append_stock(gtk.STOCK_STOP,   _('Stop current transaction'))