[Libreoffice-commits] core.git: sfx2/source sfx2/uiconfig
Caolán McNamara
caolanm at redhat.com
Wed Jan 14 01:56:14 PST 2015
sfx2/source/dialog/backingwindow.cxx | 2 ++
sfx2/uiconfig/ui/startcenter.ui | 18 ++++++++++++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
New commits:
commit f2efbca82d70451b0e8582bb699f33d709152e24
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 14 09:55:15 2015 +0000
Resolves: fdo#87353 Start Center 'Help' button not functioning any more
Change-Id: I81607ea1951c4a71c003e639b3ebe871a6943374
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index c7dcd7e..ce33bae 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -115,6 +115,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 3cb7425..7977c33 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>
More information about the Libreoffice-commits
mailing list