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: remove redundant 'Configure' toolbar button

The settings tool can now be launched via the launch menu

Changeset c4ec7968bc25

Parent 68b062e24596

by Steve Borho

Changes to one file · Browse files at c4ec7968bc25 Showing diff from parent 68b062e24596 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​history.py Stacked
 
89
90
91
92
93
94
95
96
97
98
99
 
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
 
89
90
91
 
 
 
 
 
92
93
94
 
1061
1062
1063
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1064
1065
1066
@@ -89,11 +89,6 @@
  toggle=True,   icon='menupatch.ico')   tbar += [self.mqtb, gtk.SeparatorToolItem()] - self.settingtb = self.make_toolbutton(gtk.STOCK_PREFERENCES, - _('Configure'), - self.conf_clicked, - tip=_('Configure changelog view')) - tbar += [self.settingtb, gtk.SeparatorToolItem()]   return tbar     def get_menu_list(self): @@ -1066,20 +1061,6 @@
  def thgrefresh(self, window):   self.reload_log()   - def conf_clicked(self, toolbutton, data=None): - dlg = thgconfig.ConfigDialog(True) - dlg.focus_field('tortoisehg.authorcolor') - self.settingtb.set_sensitive(False) - dlg.show_all() - dlg.run() - dlg.hide() - # Allow the dialog to run - self.refreshui() - self.repo.invalidate() - self.reload_log() - self.settingtb.set_sensitive(True) - return True -   def refresh_clicked(self, toolbutton, data=None):   self.reload_log()   return True