diff options
-rw-r--r-- | include/sfx2/sidebar/Sidebar.hrc | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/Sidebar.src | 4 | ||||
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 5 |
3 files changed, 9 insertions, 1 deletions
diff --git a/include/sfx2/sidebar/Sidebar.hrc b/include/sfx2/sidebar/Sidebar.hrc index 8f62aecbc91d..e1ab27043c37 100644 --- a/include/sfx2/sidebar/Sidebar.hrc +++ b/include/sfx2/sidebar/Sidebar.hrc @@ -56,5 +56,6 @@ #define SFX_STR_SIDEBAR_MORE_OPTIONS (RID_SFX_SIDEBAR_START + 1) #define SFX_STR_SIDEBAR_CLOSE_DECK (RID_SFX_SIDEBAR_START + 2) +#define SFX_STR_SIDEBAR_SETTINGS (RID_SFX_SIDEBAR_START + 3) /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/sidebar/Sidebar.src b/sfx2/source/sidebar/Sidebar.src index 534bebd02815..b9ff0c2821a9 100644 --- a/sfx2/source/sidebar/Sidebar.src +++ b/sfx2/source/sidebar/Sidebar.src @@ -170,5 +170,9 @@ String SFX_STR_SIDEBAR_CLOSE_DECK Text [en-US] = "Close Sidebar Deck"; }; +String SFX_STR_SIDEBAR_SETTINGS +{ + Text [en-US] = "Sidebar Settings"; +}; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 3f6f430752b2..f7fd36207686 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -25,9 +25,11 @@ #include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/Tools.hxx> #include <sfx2/sidebar/FocusManager.hxx> - #include <sfx2/sidebar/SidebarController.hxx> +#include <sfx2/sfxresid.hxx> +#include <sfx2/sidebar/Sidebar.hrc> + #include <vcl/gradient.hxx> #include <vcl/image.hxx> #include <vcl/wrkwin.hxx> @@ -60,6 +62,7 @@ TabBar::TabBar(vcl::Window* pParentWindow, mpMenuButton->SetModeImage(Theme::GetImage(Theme::Image_TabBarMenu)); mpMenuButton->SetClickHdl(LINK(this, TabBar, OnToolboxClicked)); + mpMenuButton->SetQuickHelpText(SFX2_RESSTR(SFX_STR_SIDEBAR_SETTINGS)); Layout(); #ifdef DEBUG |