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.hallot@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
Context
- [Libreoffice] [PATCH] fix for bug fdo#41478: [UI] Add protect sheet command to sheet tab popup menu · Olivier Hallot
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.