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

tortoise: rename module to avoid confusion

we already have a thgconfig.py in the hggtk/ directory

Changeset 97060253a739

Parent e7bba7a29e1e

by TK Soh

Changes to 3 files · Browse files at 97060253a739 Showing diff from parent e7bba7a29e1e Diff from another changeset...

 
18
19
20
21
 
22
23
24
 
431
432
433
434
435
 
 
436
437
438
 
18
19
20
 
21
22
23
24
 
431
432
433
 
 
434
435
436
437
438
@@ -18,7 +18,7 @@
 from mercurial import hg  from mercurial import repo as _repo  from thgutil import * -import thgconfig +import shellconf    # FIXME: quick workaround traceback caused by missing "closed"  # attribute in win32trace. @@ -431,8 +431,8 @@
  self._run_dialog('config')     def _config_update_shell(self, parent_window): - thgconfig.read() - show_overlay = thgconfig.show_overlay_icons and 'enabled' or 'disabled' + shellconf.read() + show_overlay = shellconf.show_overlay_icons and 'enabled' or 'disabled'   # feedback   title = "TortoiseHg Shell Settings"   msg = "Shell settings updated:\n\n"
 
10
11
12
13
 
14
15
16
 
89
90
91
92
 
93
94
95
 
243
244
245
246
 
247
248
249
 
10
11
12
 
13
14
15
16
 
89
90
91
 
92
93
94
95
 
243
244
245
 
246
247
248
249
@@ -10,7 +10,7 @@
 from mercurial import hg, cmdutil, util  from mercurial import repo as _repo  import thgutil -import thgconfig +import shellconf  import sys    # FIXME: quick workaround traceback caused by missing "closed" @@ -89,7 +89,7 @@
  ]     def GetOverlayInfo(self): - thgconfig.read() + shellconf.read()     icon = thgutil.get_icon_path("status", self.icon)   print "icon = ", icon @@ -243,7 +243,7 @@
  return status     def IsMemberOf(self, path, attrib): - if not thgconfig.show_overlay_icons: + if not shellconf.show_overlay_icons:   return S_FALSE     if self._get_state(path) == self.state:
Show Entire File tortoise/​shellconf.py Stacked
renamed from tortoise/thgconfig.py
(No changes)