[epiphany/wip/userhelp] Add help buttons to the pdm and pref dialogs
- From: Ekaterina Gerasimova <egerasimov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/userhelp] Add help buttons to the pdm and pref dialogs
- Date: Sun, 7 Jul 2013 10:30:42 +0000 (UTC)
commit dc0defa31efdb77991d2e851e9bcc74011a615b2
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date: Sun Jul 7 11:29:57 2013 +0100
Add help buttons to the pdm and pref dialogs
src/pdm-dialog.c | 2 +-
src/resources/epiphany.ui | 16 +++++++++++++++-
src/resources/prefs-dialog.ui | 17 +++++++++++++++--
3 files changed, 31 insertions(+), 4 deletions(-)
---
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 1cff2d2..80df90b 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -228,7 +228,7 @@ clear_all_dialog_response_cb (GtkDialog *dialog,
if (response == GTK_RESPONSE_HELP)
{
/* Show help and return early */
- ephy_gui_help (GTK_WIDGET (dialog), "clearing-personal-data");
+ ephy_gui_help (GTK_WIDGET (dialog), "data");
return;
}
diff --git a/src/resources/epiphany.ui b/src/resources/epiphany.ui
index bca48b5..48e8825 100644
--- a/src/resources/epiphany.ui
+++ b/src/resources/epiphany.ui
@@ -407,7 +407,20 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <placeholder/>
+ <object class="GtkButton" id="helpbutton1">
+ <property name="label">gtk-help</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">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="removeallbutton">
@@ -658,6 +671,7 @@
</child>
<action-widgets>
<action-widget response="1">removeallbutton</action-widget>
+ <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</object>
diff --git a/src/resources/prefs-dialog.ui b/src/resources/prefs-dialog.ui
index 9f42c9d..63ca72e 100644
--- a/src/resources/prefs-dialog.ui
+++ b/src/resources/prefs-dialog.ui
@@ -152,12 +152,24 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <placeholder/>
+ <object class="GtkButton" id="helpbutton1">
+ <property name="label">gtk-help</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">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>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -1398,6 +1410,7 @@
</object>
</child>
<action-widgets>
+ <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]