seahorse/seahorse-remove-bad-help-buttons.patch
Dominique Leuenberger 39a6a53ab2 Accepting request 155879 from home:Golbats_Everywhere:branches:GNOME:Factory
Remove a couple "help buttons to nowhere"

A couple of patches for this are competing for upstream approval at bgo#659834 - this one (a minimal, downstream solution) is very similar to one I submitted there.

OBS-URL: https://build.opensuse.org/request/show/155879
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/seahorse?expand=0&rev=140
2013-02-20 08:32:50 +00:00

88 lines
3.7 KiB
Diff

From 97dab1647bdc2f50d642eb0278bc3399b4beb7ac Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mike.catanzaro@gmail.com>
Date: Tue, 19 Feb 2013 22:27:28 -0600
Subject: [PATCH] Remove gkr-keyring, gkr-item-properties help
There is no article associated with these buttons, and there's not
really any need for Help on these pages anyway. (bnc#804181)
Various other patches including a varient of this one have been proposed
upstream at bgo#659834; none have been accepted as of yet
---
gkr/seahorse-gkr-item-properties.xml | 17 -----------------
gkr/seahorse-gkr-keyring.xml | 17 -----------------
2 files changed, 34 deletions(-)
diff --git a/gkr/seahorse-gkr-item-properties.xml b/gkr/seahorse-gkr-item-properties.xml
index 7e38ecb..7a66e23 100644
--- a/gkr/seahorse-gkr-item-properties.xml
+++ b/gkr/seahorse-gkr-item-properties.xml
@@ -360,22 +360,6 @@
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="helpbutton1">
- <property name="label">gtk-help</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- <signal name="clicked" handler="on_widget_help"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="closebutton1">
<property name="label">gtk-close</property>
<property name="visible">True</property>
@@ -401,7 +385,6 @@
</object>
</child>
<action-widgets>
- <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</object>
diff --git a/gkr/seahorse-gkr-keyring.xml b/gkr/seahorse-gkr-keyring.xml
index e9a6c03..3474e53 100644
--- a/gkr/seahorse-gkr-keyring.xml
+++ b/gkr/seahorse-gkr-keyring.xml
@@ -145,22 +145,6 @@
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="helpbutton1">
- <property name="label">gtk-help</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- <signal name="clicked" handler="on_widget_help"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="closebutton1">
<property name="label">gtk-close</property>
<property name="visible">True</property>
@@ -186,7 +170,6 @@
</object>
</child>
<action-widgets>
- <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</object>
--
1.8.1.1