# HG changeset patch
# User Peer Sommerlund <[EMAIL PROTECTED]>
# Date 1207855013 -7200
# Node ID d40121ae71d7bb14e239b843227c42b88f9e5635
# Parent 70affe9c0fe8b574f147d135178d6292a99d8ac9
overlay: Prefix registry key with "TortoiseHg"
Make it easier to spot the registry keys under ShellIconOverlayIdentifiers
that have been added by TortoiseHg, by prefixing them with the
string "TortoiseHg".
diff --git a/tortoise/iconoverlay.py b/tortoise/iconoverlay.py
--- a/tortoise/iconoverlay.py
+++ b/tortoise/iconoverlay.py
@@ -256,7 +256,7 @@
prog_id = "Mercurial.ShellExtension.%s" % classname
desc = "Merucurial icon overlay shell extension for %s files" %
name.lower()
reg = [
- (_winreg.HKEY_LOCAL_MACHINE,
r"Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\%s"
% name) ]
+ (_winreg.HKEY_LOCAL_MACHINE,
r"Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseHg%s"
% name) ]
cls = type(
classname,
(IconOverlayExtension, ),
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop