Hi The following patch fixes bug fdo#41478, enhancement to add the command "Protect Sheet..." to the sheet context menu.
Kind regards -- Olivier Hallot Founder and Steering Commitee Member The Document Foundation
From bb0a1760a07e6f79670fd0794e4fabca362e2008 Mon Sep 17 00:00:00 2001 From: Olivier Hallot <olivier.hal...@alta.org.br> Date: Wed, 5 Oct 2011 11:32:32 -0300 Subject: [PATCH] Fix for bug fdo#41478 [UI]add "Protect Sheet" command in sheet popup menu The fix adds a new entry in the sheet popup menu with Protect Sheet command followinf the discussion in UX list, as indicated in the bug. --- sc/source/ui/src/popup.src | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src index b56a5fd..99c98ee 100644 --- a/sc/source/ui/src/popup.src +++ b/sc/source/ui/src/popup.src @@ -168,16 +168,23 @@ Menu RID_POPUP_TAB }; MenuItem { - Identifier = FID_TAB_MOVE ; - HelpId = CMD_FID_TAB_MOVE ; - Text [ en-US ] = "~Move/Copy Sheet..." ; + Identifier = FID_TAB_MENU_SET_TAB_BG_COLOR ; + HelpId = CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ; + Text [ en-US ] = "~Tab Color..." ; }; MenuItem { - Identifier = FID_TAB_SELECTALL ; - HelpId = CMD_FID_TAB_SELECTALL ; - Text [ en-US ] = "Select All S~heets" ; + Identifier = FID_PROTECT_TABLE ; + HelpId = CMD_FID_PROTECT_TABLE ; + Text [ en-US ] = "~Protect Sheet..." ; + }; + MenuItem + { + Identifier = FID_TAB_MOVE ; + HelpId = CMD_FID_TAB_MOVE ; + Text [ en-US ] = "~Move/Copy Sheet..." ; }; + MenuItem { Identifier = FID_TAB_DESELECTALL ; @@ -201,9 +208,9 @@ Menu RID_POPUP_TAB //------------------------------ MenuItem { - Identifier = FID_TAB_MENU_SET_TAB_BG_COLOR ; - HelpId = CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ; - Text [ en-US ] = "~Tab Color..." ; + Identifier = FID_TAB_SELECTALL ; + HelpId = CMD_FID_TAB_SELECTALL ; + Text [ en-US ] = "Select All S~heets" ; }; }; }; -- 1.7.4.1
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice