Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.5, 0.6, and 0.7

overlay: Remove unused code

There are a number of functions that is not used. This patch removes them.

Changeset c73e8c0ee9e2

Parent 160e2fef05e9

by Peer Sommerlund

Changes to one file · Browse files at c73e8c0ee9e2 Showing diff from parent 160e2fef05e9 Diff from another changeset...

 
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
 
244
245
246
247
248
249
250
251
252
 
73
74
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
77
78
 
229
230
231
 
 
 
 
 
 
@@ -73,21 +73,6 @@
    def GetPriority(self):   return 0 - - def _get_installed_overlays(): - key = win32api.RegOpenKeyEx(win32con.HKEY_LOCAL_MACHINE, - "Software\\Microsoft\\Windows\\" + - "CurrentVersion\\Explorer\\" + - "ShellIconOverlayIdentifiers", - 0, - win32con.KEY_READ) - keys = win32api.RegEnumKeyEx(key) - handlercount = len(keys) - print "number of overlay handlers installed = %d" % handlercount - for i, k in enumerate(keys): - print i, k - win32api.RegCloseKey(key) - return handlercount     def _get_state(self, upath):   """ @@ -244,9 +229,3 @@
 make_icon_overlay("Changed", "Modified", MODIFIED, "{4D0F33E1-654C-4A1B-9BE8-E47A98752BAB}")  make_icon_overlay("Unchanged", "Normal", UNCHANGED, "{4D0F33E2-654C-4A1B-9BE8-E47A98752BAB}")  make_icon_overlay("Added", "Added", ADDED, "{4D0F33E3-654C-4A1B-9BE8-E47A98752BAB}") - -def get_overlay_classes(): - """ - Get a list of all registerable icon overlay classes - """ - return _overlay_classes