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

history: hide syncbar's refresh button if the toolbar is shown

Changeset a750e7be8ac5

Parent be0fffbb66a8

by Yuki KODAMA

Changes to one file · Browse files at a750e7be8ac5 Showing diff from parent be0fffbb66a8 Diff from another changeset...

 
350
351
352
 
353
354
355
 
1057
1058
1059
1060
1061
 
 
1062
1063
1064
 
1082
1083
1084
 
 
1085
1086
1087
1088
1089
1090
 
1091
1092
1093
 
350
351
352
353
354
355
356
 
1058
1059
1060
 
 
1061
1062
1063
1064
1065
 
1083
1084
1085
1086
1087
1088
 
1089
 
1090
1091
1092
1093
1094
1095
@@ -350,6 +350,7 @@
    def toggle_show_toolbar(self, button):   self.show_toolbar = button.get_active() + self.syncbox.set_visible('reload', not self.show_toolbar)   self._show_toolbar(self.show_toolbar)     def more_clicked(self, button, data=None): @@ -1057,8 +1058,8 @@
  syncbox = self.syncbox     refresh = syncbox.append_button(gtk.STOCK_REFRESH, - _('Reload revision history')) - syncbox.append_separator() + _('Reload revision history'), group='reload') + syncbox.append_separator(group='reload')   incoming = syncbox.append_button(gtk.STOCK_GO_DOWN,   _('Download and view incoming changesets'))   apply = syncbox.append_button(gtk.STOCK_APPLY, @@ -1082,12 +1083,13 @@
  stop = syncbox.append_button(gtk.STOCK_STOP,   _('Stop current transaction'), group='stop')   + syncbox.set_visible('reload', not self.show_toolbar) + syncbox.set_enable('bundle', False)   syncbox.set_enable('stop', False) - syncbox.set_enable('bundle', False)   - self.stop_button = stop   self.syncbar_apply = apply   self.syncbar_reject = reject + self.stop_button = stop     ## target path combobox   urllist = gtk.ListStore(str, # path (utf-8)