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

shellconf: do not enable 'Apply' button if is has no change

Changeset eb33ba1bbf91

Parent 8d38b6a39eb9

by Yuki KODAMA

Changes to one file · Browse files at eb33ba1bbf91 Showing diff from parent 8d38b6a39eb9 Diff from another changeset...

 
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
 
253
254
255
 
 
256
257
258
 
179
180
181
 
 
 
 
 
 
 
 
 
182
183
184
 
244
245
246
247
248
249
250
251
@@ -179,15 +179,6 @@
  self.apply.set_sensitive(False)   righthbbox.pack_start(self.apply, False, False)   - def add_page(self, notebook, tab): - frame = gtk.Frame() - frame.set_border_width(5) - frame.set_shadow_type(gtk.SHADOW_NONE) - frame.show() - label = gtk.Label(tab) - notebook.append_page(frame, label) - return frame -   def load_shell_configs(self):   overlayenable = True   localdisks = False @@ -253,6 +244,8 @@
  model, paths = list.get_selection().get_selected_rows()   else:   model = list.get_model() + if not paths: + return   if list == self.submlist:   otherlist = self.topmlist   othermodel = self.topmmodel