include/sfx2/strings.hrc | 1 + sfx2/source/dialog/titledockwin.cxx | 1 + 2 files changed, 2 insertions(+)
New commits: commit bebaac5eb6ebd2db3e1ea22b1630111343a9c25c Author: Takeshi Abe <t...@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 <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits