From: Zebediah Figura zfigura@codeweavers.com
--- dlls/shell32/shell32.rc | 2 ++ dlls/shell32/shresdef.h | 1 + loader/wine.inf.in | 3 +++ 3 files changed, 6 insertions(+)
diff --git a/dlls/shell32/shell32.rc b/dlls/shell32/shell32.rc index d70e4cc3ad9..f95ba30585e 100644 --- a/dlls/shell32/shell32.rc +++ b/dlls/shell32/shell32.rc @@ -235,6 +235,8 @@ the folder?"
IDS_NEWFOLDER "New Folder"
+ IDS_NEW_MENU_FOLDER "New &Folder" + IDS_CPANEL_TITLE "Wine Control Panel" IDS_CPANEL_NAME "Name" IDS_CPANEL_DESCRIPTION "Description" diff --git a/dlls/shell32/shresdef.h b/dlls/shell32/shresdef.h index 58a1c07fa05..cee1069142c 100644 --- a/dlls/shell32/shresdef.h +++ b/dlls/shell32/shresdef.h @@ -137,6 +137,7 @@ #define IDS_RECYCLEBIN_OVERWRITEFOLDER 170 #define IDS_RECYCLEBIN_OVERWRITE_CAPTION 171
+#define IDS_NEW_MENU_FOLDER 180
#define IDS_LICENSE 256 #define IDS_LICENSE_CAPTION 257 diff --git a/loader/wine.inf.in b/loader/wine.inf.in index 35644cbd285..11c0e20b3ff 100644 --- a/loader/wine.inf.in +++ b/loader/wine.inf.in @@ -293,6 +293,9 @@ HKCR,folder\shell\open\ddeexec,,2,"[ViewFolder("%l", %I, %S)]" HKCR,folder\shell\open\ddeexec,"NoActivateHandler",2,"" HKCR,folder\shell\open\ddeexec\application,,2,"Folders" HKCR,folder\shellex\ContextMenuHandlers,,16 +HKCR,folder\shellnew,"Directory",,"" +HKCR,folder\shellnew,"ItemName",,"@%11%\shell32.dll,-142" +HKCR,folder\shellnew,"MenuText",,"@%11%\shell32.dll,-180" HKCR,hlpfile,,2,"Help File" HKCR,hlpfile\shell\open\command,,2,"""%11%\winhlp32.exe"" ""%1""" HKCR,htmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" ""%1"""