1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

TK Soh  committed f0e1933

overlay: use True/False in tortoisehg.overlayicons for consistency

  • Participants
  • Parent commits fb33ac8
  • Branches default

Comments (0)

Files changed (2)

File hggtk/thgconfig.py

View file
  • Ignore whitespace
                     'The number of revisions to read and display in the'
                     ' changelog viewer in a single batch. Default: 500'),
                 ('Overlay Icons', 'tortoisehg.overlayicons',
-                    ['enabled', 'disabled', 'localdisks'],
-                    'Disable/enable overlay icons in Explorer windows.'
-                    ' Default: enabled'))
+                    ['False', 'True', 'localdisks'],
+                    'Display overlay icons in Explorer windows.'
+                    ' Default: True'))
         self.tortoise_frame = self.add_page(notebook, 'TortoiseHG')
         self.fill_frame(self.tortoise_frame, self._tortoise_info)
 

File tortoise/iconoverlay.py

View file
  • Ignore whitespace
             print "%s: repo overlayicons = " % path, repo_opts
             is_netdrive =  thgutil.netdrive_status(path) is not None
             if (is_netdrive and 'localdisks' in global_opts) \
-                    or 'disabled' in repo_opts:
+                    or 'False' in repo_opts:
                 print "%s: overlayicons disabled" % path
                 overlay_cache = {None : None}
                 cache_tick_count = win32api.GetTickCount()