aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkaterina Gerasimova <kittykat3756@gmail.com>2013-07-07 18:29:57 +0800
committerEkaterina Gerasimova <kittykat3756@gmail.com>2013-08-04 23:37:10 +0800
commitd8373ce2759a8e790e658d511111017bb609bbdc (patch)
tree1f2f6482e012279c1192831322142360e0d798b1
parent1feec7d16afd3c0396e3dde422001d95bea15bf7 (diff)
downloadgsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar.gz
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar.bz2
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar.lz
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar.xz
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.tar.zst
gsoc2013-epiphany-d8373ce2759a8e790e658d511111017bb609bbdc.zip
Add help buttons to the pdm and pref dialogs
-rw-r--r--src/pdm-dialog.c2
-rw-r--r--src/resources/epiphany.ui16
-rw-r--r--src/resources/prefs-dialog.ui16
3 files changed, 31 insertions, 3 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 1cff2d298..80df90b5a 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 bca48b56d..48e88257b 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 477762ed9..63ca72e7f 100644
--- a/src/resources/prefs-dialog.ui
+++ b/src/resources/prefs-dialog.ui
@@ -152,7 +152,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="closebutton1">
@@ -1397,6 +1410,7 @@
</object>
</child>
<action-widgets>
+ <action-widget response="-11">helpbutton1</action-widget>
<action-widget response="-7">closebutton1</action-widget>
</action-widgets>
</object>