Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

thgconfig: only save shell extensions when appropriate

Changeset e3d8650267e6

Parent e258f71e5139

by Steve Borho

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

 
275
276
277
 
278
279
280
 
826
827
828
829
 
 
830
831
832
 
275
276
277
278
279
280
281
 
827
828
829
 
830
831
832
833
834
@@ -275,6 +275,7 @@
  if not configrepo and os.name == 'nt':   self.shellframe = self.add_page(notebook, _('Shell Ext'))   self.fill_shell_frame(self.shellframe) + self.configrepo = configrepo     # Force dialog into clean state in the beginning   self._refresh_vlist() @@ -826,7 +827,8 @@
  except IOError, e:   error_dialog(self, _('Unable to write configuration file'), str(e))   - self.save_shell_configs() + if not self.configrepo and os.name == 'nt': + self.save_shell_configs()   self._btn_apply.set_sensitive(False)   self.dirty = False   return 0