diff options
author | Jim Raykowski <raykowj@gmail..com> | 2019-12-21 14:54:28 -0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-24 08:00:46 +0100 |
commit | 0fb4f2107d08febd4925dce6d96b41da9917e9ae (patch) | |
tree | d259f125a31041bcef3094de6707d3b88b003b72 /framework/inc/strings.hrc | |
parent | 08313c42abc5fb735948f37789ef993c93b6ab5e (diff) |
tdf#130163 Show undock or dock menu item in toolbar menu
This patch removes toolbar menu item 'Dock Toolbar' enable state and
shows 'Undock Toolbar' menu item when toolbar is docked and 'Dock
Toolbar' menu item when toolbar is undocked. It also sets the
accelerator key displayed for these items to Shift+Ctrl+F10
Change-Id: I0e4673529438c42452026602785857066ea7874a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85673
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc/strings.hrc')
-rw-r--r-- | framework/inc/strings.hrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/inc/strings.hrc b/framework/inc/strings.hrc index ef3ad73c1956..d3f28fcc9e21 100644 --- a/framework/inc/strings.hrc +++ b/framework/inc/strings.hrc @@ -27,6 +27,7 @@ #define STR_CLOSEDOC_ANDRETURN NC_("STR_CLOSEDOC_ANDRETURN", "~Close & Return to " ) #define STR_TOOLBAR_VISIBLE_BUTTONS NC_("STR_TOOLBAR_VISIBLE_BUTTONS", "Visible ~Buttons") #define STR_TOOLBAR_CUSTOMIZE_TOOLBAR NC_("STR_TOOLBAR_CUSTOMIZE_TOOLBAR", "~Customize Toolbar...") +#define STR_TOOLBAR_UNDOCK_TOOLBAR NC_("STR_TOOLBAR_UNDOCK_TOOLBAR", "U~ndock Toolbar" ) #define STR_TOOLBAR_DOCK_TOOLBAR NC_("STR_TOOLBAR_DOCK_TOOLBAR", "~Dock Toolbar" ) #define STR_TOOLBAR_DOCK_ALL_TOOLBARS NC_("STR_TOOLBAR_DOCK_ALL_TOOLBARS", "Dock ~All Toolbars" ) #define STR_TOOLBAR_LOCK_TOOLBAR NC_("STR_TOOLBAR_LOCK_TOOLBAR", "~Lock Toolbar Position" ) |