Kaydet (Commit) b15be387 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

tdf#87009 Add a tooltip to the sidebar settings button

Change-Id: I6332e9c7c98f87885f40f4d99224cccfe582029c
üst 860d6948
......@@ -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: */
......@@ -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: */
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment