summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodolfo Ribeiro Gomes <libo@rodolfo.eng.br>2015-02-03 02:08:25 -0200
committerCaolán McNamara <caolanm@redhat.com>2015-02-12 10:06:49 +0000
commit45b881801785d6bb6df1304732243e87c918c7c9 (patch)
tree6e44a554c96ff1a81a3bfa76843eca76d62a9e26
parent235025aca21ace750bf79178f10bc04f8fdc36f2 (diff)
partial fix tdf#86611 (item #5) Draw statusbar tip
Change-Id: I5096c5ea1272e16969f9572ed40c60cdb9378b57 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14308 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sd/source/ui/app/strings.src6
-rw-r--r--sd/source/ui/app/tmplctrl.cxx3
-rw-r--r--sd/source/ui/inc/strings.hrc2
3 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src
index 3e11d182474a..991ee3a9ec71 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 15d8ec5fbc80..9f6705295432 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 1fa282c3acce..aa92fb31cfe7 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)