[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Takeshi Abe
tabe at fixedpoint.jp
Tue Aug 15 02:05:31 UTC 2017
include/sfx2/strings.hrc | 1 +
sfx2/source/dialog/titledockwin.cxx | 1 +
2 files changed, 2 insertions(+)
New commits:
commit bebaac5eb6ebd2db3e1ea22b1630111343a9c25c
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Sun Aug 6 16:34:46 2017 +0900
tdf#100864 Assign a tooltip to the button to close pane
which appears at the top-right corner of both Impress's
Slide Pane and Draw's Page Pane.
Change-Id: Ida52ccc35e42546cd6260001e22335b04608034d
Reviewed-on: https://gerrit.libreoffice.org/40803
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index bf3a85569661..9f0b9657a729 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -255,6 +255,7 @@
#define STR_SIGNATURE_OK NC_("STR_SIGNATURE_OK", "This document is digitally signed and the signature is valid.")
#define STR_SIGNATURE_SHOW NC_("STR_SIGNATURE_SHOW", "Show Signatures")
+#define STR_CLOSE_PANE NC_("STR_CLOSE_PANE", "Close Pane")
#define STR_SFX_DOCK NC_("STR_SFX_DOCK", "Dock")
#define STR_SFX_UNDOCK NC_("STR_SFX_UNDOCK", "Undock")
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 8b43c8c23fb4..f7ba40f5311a 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -217,6 +217,7 @@ namespace sfx2
// Get the closer bitmap and set it as right most button.
BitmapEx aBitmapEx(SFX_BMP_CLOSE_DOC);
m_aToolbox->InsertItem(1, Image(aBitmapEx));
+ m_aToolbox->SetQuickHelpText(1, SfxResId(STR_CLOSE_PANE));
m_aToolbox->ShowItem( 1 );
}
More information about the Libreoffice-commits
mailing list