From 607bd3de40adf0d296affd3b5fe33cac48c9d4fd Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sat, 11 Jan 2014 01:57:54 +0100 Subject: 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 Tested-by: Andras Timar --- sfx2/source/dialog/backingwindow.cxx | 3 --- 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 @@ vertical - _Help + gtk-help True True True True none True + True False -- cgit v1.2.3