Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shellext/IconOverlay.cpp: implement EnableOverlays config option

Changeset fa263a0e6e5b

Parent b61881c0be9c

by Adrian Buehlmann

Changes to one file · Browse files at fa263a0e6e5b Showing diff from parent b61881c0be9c Diff from another changeset...

 
58
59
60
 
 
 
 
61
62
63
 
58
59
60
61
62
63
64
65
66
67
@@ -58,6 +58,10 @@
   STDMETHODIMP CShellExt::IsMemberOf(LPCWSTR pwszPath, DWORD /* dwAttrib */)  { + std::string cval; + if (GetRegistryConfig("EnableOverlays", cval) != 0 && cval == "0") + return S_FALSE; +   std::string path = WideToMultibyte(pwszPath);     char filterStatus = 0;