summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-01-10 03:21:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-01-13 15:43:10 +0000
commitc675ac51e5b143da03661f504d5b6e2a31180cd6 (patch)
tree9e34b136d2c65ecf762511b0adcfe59a5fd1d4c3 /sfx2
parent42ba88c68c49175693018917a4a4c88b8c8c00d1 (diff)
fdo#72420 Startcenter: help button point to local/wiki help, ui part
Not handle clicking help button manually but use the default gtk-help button which will point to the corresponding help files depend on helpids. (cherry picked from commit 55fcca64a7d006f8cb10268fd2e1e09b1618a800) Change-Id: I7ac4b51868d1a5828c810b1ac629d5a56ffb6f50 Reviewed-on: https://gerrit.libreoffice.org/7365 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx3
-rw-r--r--sfx2/uiconfig/ui/startcenter.ui3
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index ea3dd216c9fd..60ce65f25354 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -230,7 +230,6 @@ void BackingWindow::initControls()
setupButton( mpImpressAllButton );
setupButton( mpMathAllButton );
- mpHelpButton->SetClickHdl(LINK(this, BackingWindow, ExtLinkClickHdl));
mpExtensionsButton->SetClickHdl(LINK(this, BackingWindow, ExtLinkClickHdl));
// setup nice colors
@@ -360,8 +359,6 @@ IMPL_LINK(BackingWindow, ExtLinkClickHdl, Button*, pButton)
if (pButton == mpExtensionsButton)
aNode = "AddFeatureURL";
- else if (pButton == mpHelpButton)
- aNode = "InfoURL";
if (!aNode.isEmpty())
{
diff --git a/sfx2/uiconfig/ui/startcenter.ui b/sfx2/uiconfig/ui/startcenter.ui
index 831e1bfa6440..4e0e04b10010 100644
--- a/sfx2/uiconfig/ui/startcenter.ui
+++ b/sfx2/uiconfig/ui/startcenter.ui
@@ -260,13 +260,14 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="help">
- <property name="label" translatable="yes">_Help</property>
+ <property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="relief">none</property>
<property name="use_underline">True</property>
+ <property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>