summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-14 09:55:15 +0000
committerMichael Stahl <mstahl@redhat.com>2015-01-15 12:48:50 +0000
commit887613047e0a20818a33a6cdce2c0803afce64a4 (patch)
treecc4004c696e1ddb9b5949dd5895b59e070b26703 /sfx2
parent8e427a08f12495f9515294e4d14587a7da6add9b (diff)
Resolves: fdo#87353 Start Center 'Help' button not functioning any more
Change-Id: I81607ea1951c4a71c003e639b3ebe871a6943374 (cherry picked from commit f2efbca82d70451b0e8582bb699f33d709152e24) Reviewed-on: https://gerrit.libreoffice.org/13901 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx2
-rw-r--r--sfx2/uiconfig/ui/startcenter.ui18
2 files changed, 18 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 02bbb08586e4..f689b5845974 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -114,6 +114,8 @@ BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
get(mpMathAllButton, "math_all");
get(mpHelpButton, "help");
+ //set an alternative help label that doesn't hotkey the H of the Help menu
+ mpHelpButton->SetText(get<Window>("althelplabel")->GetText());
get(mpExtensionsButton, "extensions");
//Containers are invisible to cursor traversal
diff --git a/sfx2/uiconfig/ui/startcenter.ui b/sfx2/uiconfig/ui/startcenter.ui
index 3cb74253638e..7977c33c5336 100644
--- a/sfx2/uiconfig/ui/startcenter.ui
+++ b/sfx2/uiconfig/ui/startcenter.ui
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
- <!-- interface-requires LibreOffice 1.0 -->
<requires lib="gtk+" version="3.0"/>
+ <!-- interface-requires LibreOffice 1.0 -->
<object class="GtkImage" id="calc_all_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -332,6 +332,19 @@
<property name="position">11</property>
</packing>
</child>
+ <child>
+ <object class="GtkLabel" id="althelplabel">
+ <property name="can_focus">False</property>
+ <property name="no_show_all">True</property>
+ <property name="label" translatable="yes">He_lp</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">12</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -365,13 +378,14 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="help">
- <property name="label" translatable="yes">He_lp</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>