Changeset c998501a9fc3…
Parent 2531d02fa037…
by
Changes to 2 files · Browse files at c998501a9fc3 Showing diff from parent 2531d02fa037 Diff from another changeset...
@@ -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,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'))
|
Loading...