[BROWSEUI]
authorDavid Quintana <gigaherz@gmail.com>
Tue, 28 Oct 2014 18:37:44 +0000 (18:37 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Tue, 28 Oct 2014 18:37:44 +0000 (18:37 +0000)
* Disable the Tools menu items until they are implemented.

svn path=/branches/shell-experiments/; revision=65081

dll/win32/browseui/shellbrowser.cpp

index 457fb2f..b14c898 100644 (file)
@@ -3152,6 +3152,11 @@ LRESULT CShellBrowser::OnInitMenuPopup(UINT uMsg, WPARAM wParam, LPARAM lParam,
     }
     else if (theMenu == SHGetMenuFromID(fCurrentMenuBar, FCIDM_MENU_TOOLS))
     {
+        // FIXME: Remove once implemented
+        SHEnableMenuItem(theMenu, IDM_TOOLS_MAPNETWORKDRIVE, FALSE);
+        SHEnableMenuItem(theMenu, IDM_TOOLS_DISCONNECTNETWORKDRIVE, FALSE);
+        SHEnableMenuItem(theMenu, IDM_TOOLS_SYNCHRONIZE, FALSE);
+        SHEnableMenuItem(theMenu, IDM_TOOLS_FOLDEROPTIONS, FALSE);
         menuIndex = 4;
     }
     else if (theMenu == SHGetMenuFromID(fCurrentMenuBar, FCIDM_MENU_HELP))