[epiphany] Remove help button from prefs dialog
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Remove help button from prefs dialog
- Date: Tue, 7 Jan 2014 23:11:16 +0000 (UTC)
commit e532c781b15b2dea844bbc65d04bcdd3da32ffb6
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Jan 7 17:17:25 2014 -0500
Remove help button from prefs dialog
https://bugzilla.gnome.org/show_bug.cgi?id=721285
src/prefs-dialog.c | 6 ------
src/resources/prefs-dialog.ui | 17 -----------------
2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 73431e6..fa19304 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -945,12 +945,6 @@ prefs_dialog_response_cb (GtkDialog *widget,
int response,
GtkDialog *dialog)
{
- if (response == GTK_RESPONSE_HELP)
- {
- ephy_gui_help (GTK_WIDGET (widget), "pref");
- return;
- }
-
gtk_widget_destroy (GTK_WIDGET (dialog));
}
diff --git a/src/resources/prefs-dialog.ui b/src/resources/prefs-dialog.ui
index 1540fd2..0df79a8 100644
--- a/src/resources/prefs-dialog.ui
+++ b/src/resources/prefs-dialog.ui
@@ -44,22 +44,6 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="helpbutton1">
- <property name="label">gtk-help</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- <property name="secondary">True</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="closebutton1">
<property name="label">gtk-close</property>
<property name="use_action_appearance">False</property>
@@ -1402,7 +1386,6 @@
</object>
</child>
<action-widgets>
- <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]