Author: janderwald
Date: Sun Jul 6 00:26:34 2008
New Revision: 34318
URL:
http://svn.reactos.org/svn/reactos?rev=34318&view=rev
Log:
- don't load OpenWith shell extension on desktop, mydocuments, controlpanel,
recyclebin, drive, control panel and folder items
Modified:
trunk/reactos/dll/win32/shell32/she_ocmenu.c
Modified: trunk/reactos/dll/win32/shell32/she_ocmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/she_ocme…
==============================================================================
--- trunk/reactos/dll/win32/shell32/she_ocmenu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/she_ocmenu.c [iso-8859-1] Sun Jul 6 00:26:34 2008
@@ -1230,7 +1230,8 @@
ERR("no mem\n");
return E_OUTOFMEMORY;
}
- if (_ILIsFolder(pidl_child))
+ if (_ILIsDesktop(pidl_child) || _ILIsMyDocuments(pidl_child) ||
_ILIsControlPanel(pidl_child) ||
+ _ILIsBitBucket(pidl_child) || _ILIsDrive(pidl_child) ||
_ILIsCPanelStruct(pidl_child) || _ILIsFolder(pidl_child))
{
TRACE("pidl is a folder\n");
SHFree((void*)pidl);