From 5cae6a08a13ab0842826989eb5b840746be494a2 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 22 May 2017 11:41:20 +0300 Subject: tdf#36019: Enable/disable extension installation and removal via GUI Now extension installation and removal via the Extension Manager dialog can be dynamically enabled/disabled from the expert configurations. This also affects the installation by double-clicking the extension file in the file manager, but doesn't affect the unopkg commands. When ExtensionSecurity::DisableExtensionRemoval is set in expert configurations, context menu entry of 'remove' for installed extensions is also disabled along with the "Remove" button on the dialog. This is the combination of 4 commits from master: 99b7c4f57d7f f09be32d0fcb 99841f1fd2bf 18cf49580846 Change-Id: Ide7b8bcae750b093bcc0a98948845273611cd620 Reviewed-on: https://gerrit.libreoffice.org/38455 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- desktop/inc/dp_gui.hrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop/inc') diff --git a/desktop/inc/dp_gui.hrc b/desktop/inc/dp_gui.hrc index 9bb961474743..a22629cb1e7a 100644 --- a/desktop/inc/dp_gui.hrc +++ b/desktop/inc/dp_gui.hrc @@ -30,6 +30,8 @@ #define RID_STR_WARNING_VERSION_GREATER (RID_DEPLOYMENT_GUI_START + 7) #define RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES (RID_DEPLOYMENT_GUI_START + 8) #define RID_STR_WARNING_INSTALL_EXTENSION (RID_DEPLOYMENT_GUI_START + 9) +#define RID_STR_WARNING_INSTALL_EXTENSION_DISABLED (RID_DEPLOYMENT_GUI_START + 10) +#define RID_STR_WARNING_REMOVE_EXTENSION_DISABLED (RID_DEPLOYMENT_GUI_START + 11) #define RID_DLG_UPDATE_NONE (RID_DEPLOYMENT_GUI_START + 13) #define RID_DLG_UPDATE_NOINSTALLABLE (RID_DEPLOYMENT_GUI_START + 14) -- cgit