Author: janderwald
Date: Sun Nov 4 15:19:44 2007
New Revision: 30109
URL:
http://svn.reactos.org/svn/reactos?rev=30109&view=rev
Log:
- add static context menus for drives when available
Modified:
trunk/reactos/dll/win32/shell32/shv_item_cmenu.c
Modified: trunk/reactos/dll/win32/shell32/shv_item_cmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_item…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_item_cmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_item_cmenu.c Sun Nov 4 15:19:44 2007
@@ -491,6 +491,10 @@
if (_ILIsFolder(This->apidl[0])) // && (This->rfg &
SFGAO_BROWSABLE))
{
SH_AddStaticEntryForFileClass(This, L"Folder");
+ }
+ else if (_ILIsDrive(This->apidl[0]))
+ {
+ SH_AddStaticEntryForFileClass(This, L"Drive");
}
}