From 4472620f3039d3e6fd61da8b2095b7f3c9b02551 Mon Sep 17 00:00:00 2001 From: Don HO Date: Wed, 20 Feb 2019 09:46:17 +0100 Subject: [PATCH] Remove "Get More Plugins" menu item --- PowerEditor/src/Notepad_plus.rc | 2 +- PowerEditor/src/NppCommands.cpp | 4 ++-- PowerEditor/src/Parameters.cpp | 2 +- PowerEditor/src/menuCmdID.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PowerEditor/src/Notepad_plus.rc b/PowerEditor/src/Notepad_plus.rc index b572a042..be533b6a 100644 --- a/PowerEditor/src/Notepad_plus.rc +++ b/PowerEditor/src/Notepad_plus.rc @@ -964,7 +964,7 @@ BEGIN MENUITEM "Notepad++ Project Page", IDM_PROJECTPAGE MENUITEM "Notepad++ Community (Forum)", IDM_FORUM MENUITEM "Live Support", IDM_ONLINESUPPORT - MENUITEM "Get More Plugins", IDM_PLUGINSHOME + //MENUITEM "Get More Plugins", IDM_PLUGINSHOME MENUITEM SEPARATOR MENUITEM "Update Notepad++", IDM_UPDATE_NPP MENUITEM "Set Updater Proxy...", IDM_CONFUPDATERPROXY diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 359ec209..4524067e 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -2785,13 +2785,13 @@ void Notepad_plus::command(int id) ::ShellExecute(NULL, TEXT("open"), TEXT("https://gitter.im/notepad-plus-plus/notepad-plus-plus"), NULL, NULL, SW_SHOWNORMAL); break; } - + /* case IDM_PLUGINSHOME: { ::ShellExecute(NULL, TEXT("open"), TEXT("http://docs.notepad-plus-plus.org/index.php/Plugin_Central"), NULL, NULL, SW_SHOWNORMAL); break; } - + */ case IDM_UPDATE_NPP : case IDM_CONFUPDATERPROXY : { diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index afd964ba..f429336c 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -383,7 +383,7 @@ static const WinMenuKeyDefinition winKeyDefs[] = // { VK_NULL, IDM_ONLINEHELP, false, false, false, nullptr }, { VK_NULL, IDM_FORUM, false, false, false, nullptr }, { VK_NULL, IDM_ONLINESUPPORT, false, false, false, nullptr }, - { VK_NULL, IDM_PLUGINSHOME, false, false, false, nullptr }, +// { VK_NULL, IDM_PLUGINSHOME, false, false, false, nullptr }, { VK_NULL, IDM_UPDATE_NPP, false, false, false, nullptr }, { VK_NULL, IDM_CONFUPDATERPROXY, false, false, false, nullptr }, { VK_NULL, IDM_DEBUGINFO, false, false, false, nullptr }, diff --git a/PowerEditor/src/menuCmdID.h b/PowerEditor/src/menuCmdID.h index 77864b12..2c60cdba 100644 --- a/PowerEditor/src/menuCmdID.h +++ b/PowerEditor/src/menuCmdID.h @@ -527,7 +527,7 @@ #define IDM_PROJECTPAGE (IDM_ABOUT + 2) #define IDM_ONLINEHELP (IDM_ABOUT + 3) #define IDM_FORUM (IDM_ABOUT + 4) - #define IDM_PLUGINSHOME (IDM_ABOUT + 5) + //#define IDM_PLUGINSHOME (IDM_ABOUT + 5) #define IDM_UPDATE_NPP (IDM_ABOUT + 6) #define IDM_WIKIFAQ (IDM_ABOUT + 7) #define IDM_HELP (IDM_ABOUT + 8)