summaryrefslogtreecommitdiff
path: root/framework/source/classes
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-14 11:49:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-14 11:51:32 +0100
commitc6e96bb4519176edc8668e5a8ec20b43863cd61b (patch)
treedadbc33d996b616960a9aa93093f90d22d05db82 /framework/source/classes
parentf1489399d50070c17ca7cbf4fa6b67a2bb307c66 (diff)
rework POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION
don't create a menu in order to copy certain entries under certain conditions to another menu, just insert the specific entries from more elemental parts Change-Id: I2254753fdc374742422afdb40fed7e78ae5dfbb2
Diffstat (limited to 'framework/source/classes')
-rw-r--r--framework/source/classes/resource.src75
1 files changed, 28 insertions, 47 deletions
diff --git a/framework/source/classes/resource.src b/framework/source/classes/resource.src
index 998d3721797c..b045b6d9e029 100644
--- a/framework/source/classes/resource.src
+++ b/framework/source/classes/resource.src
@@ -39,53 +39,34 @@ String STR_CLOSEDOC_ANDRETURN
Text [ en-US ] = "~Close & Return to " ;
};
-Menu POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION
-{
- ItemList =
- {
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_VISIBLEBUTTON;
- SubMenu = Menu
- {
- };
- Text[ en-US ] = "Visible ~Buttons";
- };
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR;
- Command = ".uno:ConfigureToolboxVisible" ;
- Text[ en-US ] = "~Customize Toolbar...";
- };
- MenuItem
- {
- Separator = TRUE ;
- };
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_DOCKTOOLBAR;
- Text[ en-US ] = "~Dock Toolbar" ;
- };
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_DOCKALLTOOLBAR;
- Text[ en-US ] = "Dock ~All Toolbars" ;
- };
- MenuItem
- {
- Separator = TRUE ;
- };
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION;
- Text[ en-US ] = "~Lock Toolbar Position" ;
- };
- MenuItem
- {
- Identifier = MENUITEM_TOOLBAR_CLOSE;
- Text[ en-US ] = "Close ~Toolbar" ;
- };
- };
+String STR_TOOLBAR_VISIBLE_BUTTONS
+{
+ Text[ en-US ] = "Visible ~Buttons";
+};
+
+String STR_TOOLBAR_CUSTOMIZE_TOOLBAR
+{
+ Text[ en-US ] = "~Customize Toolbar...";
+};
+
+String STR_TOOLBAR_DOCK_TOOLBAR
+{
+ Text[ en-US ] = "~Dock Toolbar" ;
+};
+
+String STR_TOOLBAR_DOCK_ALL_TOOLBARS
+{
+ Text[ en-US ] = "Dock ~All Toolbars" ;
+};
+
+String STR_TOOLBAR_LOCK_TOOLBAR
+{
+ Text[ en-US ] = "~Lock Toolbar Position" ;
+};
+
+String STR_TOOLBAR_CLOSE_TOOLBAR
+{
+ Text[ en-US ] = "Close ~Toolbar" ;
};
String STR_SAVECOPYDOC