[Libreoffice-commits] core.git: sd/source
Rodolfo Ribeiro Gomes
libo at rodolfo.eng.br
Thu Feb 12 02:07:20 PST 2015
sd/source/ui/app/strings.src | 6 ++++++
sd/source/ui/app/tmplctrl.cxx | 3 +++
sd/source/ui/inc/strings.hrc | 2 ++
3 files changed, 11 insertions(+)
New commits:
commit 45b881801785d6bb6df1304732243e87c918c7c9
Author: Rodolfo Ribeiro Gomes <libo at rodolfo.eng.br>
Date: Tue Feb 3 02:08:25 2015 -0200
partial fix tdf#86611 (item #5) Draw statusbar tip
Change-Id: I5096c5ea1272e16969f9572ed40c60cdb9378b57
Signed-off-by: Rodolfo Ribeiro Gomes <libo at rodolfo.eng.br>
Reviewed-on: https://gerrit.libreoffice.org/14308
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src
index 3e11d18..991ee3a 100644
--- a/sd/source/ui/app/strings.src
+++ b/sd/source/ui/app/strings.src
@@ -995,6 +995,12 @@ String STR_PAGE_BACKGROUND_TXT
{
Text [ en-US ] = "Background settings for all pages?" ;
};
+
+String STR_STATUSBAR_MASTERPAGE
+{
+ Text [ en-US ] = "Slide Master name. Right-click for list and double-click for dialog.";
+};
+
String STR_TITLE_RENAMESLIDE
{
Text [ en-US ] = "Rename Slide";
diff --git a/sd/source/ui/app/tmplctrl.cxx b/sd/source/ui/app/tmplctrl.cxx
index 15d8ec5..9f67052 100644
--- a/sd/source/ui/app/tmplctrl.cxx
+++ b/sd/source/ui/app/tmplctrl.cxx
@@ -28,6 +28,8 @@
#include "drawdoc.hxx"
#include "sdattr.hrc"
#include "app.hrc"
+#include <sdresid.hxx>
+#include "strings.hrc"
SFX_IMPL_STATUSBAR_CONTROL( SdTemplateControl, SfxStringItem );
@@ -64,6 +66,7 @@ SdTemplateControl::SdTemplateControl( sal_uInt16 _nSlotId,
StatusBar& rStb ) :
SfxStatusBarControl( _nSlotId, _nId, rStb )
{
+ GetStatusBar().SetQuickHelpText(GetId(), SD_RESSTR(STR_STATUSBAR_MASTERPAGE));
}
SdTemplateControl::~SdTemplateControl()
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
index 1fa282c..aa92fb3 100644
--- a/sd/source/ui/inc/strings.hrc
+++ b/sd/source/ui/inc/strings.hrc
@@ -336,6 +336,8 @@
#define STR_PAGE_BACKGROUND_TXT (RID_APP_START+583)
#define STR_PAGE_BACKGROUND_TITLE (RID_APP_START+584)
+#define STR_STATUSBAR_MASTERPAGE (RID_APP_START+600)
+
#define STR_TWAIN_NO_SOURCE (RID_APP_START+670)
#define STR_UNDO_VECTORIZE (RID_APP_START+671)
More information about the Libreoffice-commits
mailing list