Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

cmenu: remove redundant shell settings menu

Changeset e5d8410bce10

Parent 87cbada96178

by TK Soh

Changes to one file · Browse files at e5d8410bce10 Showing diff from parent 87cbada96178 Diff from another changeset...

 
18
19
20
21
22
23
24
 
392
393
394
395
396
397
398
399
400
401
 
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
 
18
19
20
 
21
22
23
 
391
392
393
 
 
 
 
394
395
396
 
426
427
428
 
 
 
 
 
 
 
 
 
429
430
431
@@ -18,7 +18,6 @@
 from mercurial import hg  from mercurial import repo as _repo  from thgutil import * -import shellconf    # FIXME: quick workaround traceback caused by missing "closed"  # attribute in win32trace. @@ -392,10 +391,6 @@
  optmenu.add_menu(_("Repository"),   _("Configure settings local to this repository"),   self._config_repo) - optmenu.add_sep() - optmenu.add_menu(_("Update Shell Settings"), - _("Update TortoiseHg shell extension settings"), - self._config_update_shell)   result.append(optmenu)     return result @@ -431,15 +426,6 @@
  def _config_repo(self, parent_window):   self._run_dialog('config')   - def _config_update_shell(self, parent_window): - shellconf.read() - show_overlay = shellconf.show_overlay_icons and 'enabled' or 'disabled' - # feedback - title = "TortoiseHg Shell Settings" - msg = "Shell settings updated:\n\n" - msg += "Overlay icons are " + show_overlay - win32ui.MessageBox(msg, title, win32con.MB_OK|win32con.MB_ICONINFORMATION) -   def _vdiff(self, parent_window):   '''[tortoisehg] vdiff = <any extdiff command>'''   diff = ui.ui().config('tortoisehg', 'vdiff', None)