diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-11 01:57:54 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-01-13 10:54:29 +0000 |
commit | 607bd3de40adf0d296affd3b5fe33cac48c9d4fd (patch) | |
tree | 2ed160d46aa49c835abb465660b57654df085edb /sfx2 | |
parent | 24aae51446a252d7655e54201d703d0c87a822e0 (diff) |
fdo#72420 Startcenter: help button point to local/wiki help, ui part
Not handle clicking help button manually but use the defualt gtk-help
which will point to the corresponding help file depend
on helpids.
(cherry picked from commit 55fcca64a7d006f8cb10268fd2e1e09b1618a800)
Change-Id: I7ac4b51868d1a5828c810b1ac629d5a56ffb6f50
Reviewed-on: https://gerrit.libreoffice.org/7394
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 3 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/startcenter.ui | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index f7a66fb869e0..ad9b8d83e82c 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> |