diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-31 18:38:00 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-31 18:41:27 +0300 |
commit | b15be387b163ef5e2e338c4701643aac152ec407 (patch) | |
tree | 89b0ff0c0fbb895287759b64007e42b7767a0e8f /sfx2/source/sidebar/TabBar.cxx | |
parent | 860d6948cc56104f7de3d5bf3b5aa1d7f1fbd840 (diff) |
tdf#87009 Add a tooltip to the sidebar settings button
Change-Id: I6332e9c7c98f87885f40f4d99224cccfe582029c
Diffstat (limited to 'sfx2/source/sidebar/TabBar.cxx')
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 |