regedit: Remove the unimplemented menus to connect to remote registries.
Francois Gouget
fgouget at free.fr
Thu Mar 31 05:43:51 CDT 2011
---
It would be quite a lot of work to actually implement so removing them
is better than having them silently do nothing.
programs/regedit/framewnd.c | 4 ----
programs/regedit/regedit.rc | 9 +--------
programs/regedit/resource.h | 2 --
3 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index 630f9b9..d6f959d 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -677,10 +677,6 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
case ID_REGISTRY_EXPORTREGISTRYFILE:
ExportRegistryFile(hWnd);
break;
- case ID_REGISTRY_CONNECTNETWORKREGISTRY:
- break;
- case ID_REGISTRY_DISCONNECTNETWORKREGISTRY:
- break;
case ID_REGISTRY_PRINT:
{
const WCHAR empty = 0;
diff --git a/programs/regedit/regedit.rc b/programs/regedit/regedit.rc
index b7b8222..7d0a3fd 100644
--- a/programs/regedit/regedit.rc
+++ b/programs/regedit/regedit.rc
@@ -33,10 +33,7 @@ BEGIN
MENUITEM "&Import Registry File...", ID_REGISTRY_IMPORTREGISTRYFILE
MENUITEM "&Export Registry File...", ID_REGISTRY_EXPORTREGISTRYFILE
MENUITEM SEPARATOR
- MENUITEM "&Connect Network Registry...", ID_REGISTRY_CONNECTNETWORKREGISTRY, GRAYED
- MENUITEM "&Disconnect Network Registry...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "&Print\tCtrl+P", ID_REGISTRY_PRINT, GRAYED
+ MENUITEM "&Print\tCtrl+P", ID_REGISTRY_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_REGISTRY_EXIT
END
@@ -152,10 +149,6 @@ BEGIN
ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
ID_REGISTRY_EXPORTREGISTRYFILE
"Exports all or part of the registry to a text file"
- ID_REGISTRY_CONNECTNETWORKREGISTRY
- "Connects to a remote computer's registry"
- ID_REGISTRY_DISCONNECTNETWORKREGISTRY
- "Disconnects from a remote computer's registry"
ID_REGISTRY_PRINT "Prints all or part of the registry"
/* ID_HELP_HELPTOPICS "Opens registry editor help" */
ID_HELP_ABOUT "Displays program information, version number and copyright"
diff --git a/programs/regedit/resource.h b/programs/regedit/resource.h
index ceb2887..6eb66c7 100644
--- a/programs/regedit/resource.h
+++ b/programs/regedit/resource.h
@@ -77,8 +77,6 @@
#define ID_EDIT_NEW_DWORDVALUE 32788
#define ID_REGISTRY_IMPORTREGISTRYFILE 32789
#define ID_REGISTRY_EXPORTREGISTRYFILE 32790
-#define ID_REGISTRY_CONNECTNETWORKREGISTRY 32791
-#define ID_REGISTRY_DISCONNECTNETWORKREGISTRY 32792
#define ID_REGISTRY_PRINT 32793
#define ID_HELP_HELPTOPICS 32794
#define ID_HELP_ABOUT 32795
--
1.7.4.1
More information about the wine-patches
mailing list