[Libreoffice-commits] .: 2 commits - sc/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Wed Oct 5 08:35:34 PDT 2011
sc/source/ui/src/popup.src | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
New commits:
commit 4b23e3a6d8fb9fe18ff57bd6abf5793ca2e0c409
Author: Jan Holesovsky <kendy at suse.cz>
Date: Wed Oct 5 17:27:32 2011 +0200
fdo#41478 follow-up cleanup.
diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src
index 99c98ee..24e9c58 100644
--- a/sc/source/ui/src/popup.src
+++ b/sc/source/ui/src/popup.src
@@ -168,6 +168,12 @@ Menu RID_POPUP_TAB
};
MenuItem
{
+ Identifier = FID_TAB_MOVE ;
+ HelpId = CMD_FID_TAB_MOVE ;
+ Text [ en-US ] = "~Move/Copy Sheet..." ;
+ };
+ MenuItem
+ {
Identifier = FID_TAB_MENU_SET_TAB_BG_COLOR ;
HelpId = CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ;
Text [ en-US ] = "~Tab Color..." ;
@@ -180,19 +186,6 @@ Menu RID_POPUP_TAB
};
MenuItem
{
- Identifier = FID_TAB_MOVE ;
- HelpId = CMD_FID_TAB_MOVE ;
- Text [ en-US ] = "~Move/Copy Sheet..." ;
- };
-
- MenuItem
- {
- Identifier = FID_TAB_DESELECTALL ;
- HelpId = CMD_FID_TAB_DESELECTALL ;
- Text [ en-US ] = "D~eselect All Sheets" ;
- };
- MenuItem
- {
Identifier = FID_TAB_RTL ;
HelpId = CMD_FID_TAB_RTL ;
Text [ en-US ] = "S~heet Right-To-Left" ;
@@ -212,6 +205,12 @@ Menu RID_POPUP_TAB
HelpId = CMD_FID_TAB_SELECTALL ;
Text [ en-US ] = "Select All S~heets" ;
};
+ MenuItem
+ {
+ Identifier = FID_TAB_DESELECTALL ;
+ HelpId = CMD_FID_TAB_DESELECTALL ;
+ Text [ en-US ] = "D~eselect All Sheets" ;
+ };
};
};
commit 556ef854307dc6c50a034345287652a4c6d36864
Author: Olivier Hallot <olivier.hallot at alta.org.br>
Date: Wed Oct 5 11:32:32 2011 -0300
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.
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" ;
};
};
};
More information about the Libreoffice-commits
mailing list