[gthumb] webalbums: added the help icon to the header entry as well
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] webalbums: added the help icon to the header entry as well
- Date: Sat, 5 Feb 2011 13:15:08 +0000 (UTC)
commit edc4811318eef83e89f6ac266aeef60b9f402586
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Feb 5 14:11:30 2011 +0100
webalbums: added the help icon to the header entry as well
extensions/webalbums/data/ui/web-album-exporter.ui | 8 ++++++++
extensions/webalbums/dlg-web-exporter.c | 10 +++++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/extensions/webalbums/data/ui/web-album-exporter.ui b/extensions/webalbums/data/ui/web-album-exporter.ui
index a91a57e..566c543 100644
--- a/extensions/webalbums/data/ui/web-album-exporter.ui
+++ b/extensions/webalbums/data/ui/web-album-exporter.ui
@@ -222,6 +222,10 @@
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">True</property>
+ <property name="secondary_icon_stock">gtk-help</property>
+ <property name="secondary_icon_activatable">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="secondary_icon_tooltip_text">Help</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -949,6 +953,10 @@
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">True</property>
+ <property name="secondary_icon_stock">gtk-help</property>
+ <property name="secondary_icon_activatable">True</property>
+ <property name="secondary_icon_sensitive">True</property>
+ <property name="secondary_icon_tooltip_text">Help</property>
</object>
<packing>
<property name="left_attach">1</property>
diff --git a/extensions/webalbums/dlg-web-exporter.c b/extensions/webalbums/dlg-web-exporter.c
index cc85a3b..f791b39 100644
--- a/extensions/webalbums/dlg-web-exporter.c
+++ b/extensions/webalbums/dlg-web-exporter.c
@@ -246,7 +246,7 @@ footer_entry_icon_press_cb (GtkEntry *entry,
DialogData *data = user_data;
GtkWidget *help_box;
- if (GTK_WIDGET (entry) == GET_WIDGET ("footer_entry"))
+ if ((GTK_WIDGET (entry) == GET_WIDGET ("header_entry")) || (GTK_WIDGET (entry) == GET_WIDGET ("footer_entry")))
help_box = GET_WIDGET ("page_footer_help_table");
else
help_box = GET_WIDGET ("image_footer_help_table");
@@ -530,10 +530,18 @@ dlg_web_exporter (GthBrowser *browser,
"clicked",
G_CALLBACK (update_sensitivity),
data);
+ g_signal_connect (GET_WIDGET ("header_entry"),
+ "icon-press",
+ G_CALLBACK (footer_entry_icon_press_cb),
+ data);
g_signal_connect (GET_WIDGET ("footer_entry"),
"icon-press",
G_CALLBACK (footer_entry_icon_press_cb),
data);
+ g_signal_connect (GET_WIDGET ("image_page_header_entry"),
+ "icon-press",
+ G_CALLBACK (footer_entry_icon_press_cb),
+ data);
g_signal_connect (GET_WIDGET ("image_page_footer_entry"),
"icon-press",
G_CALLBACK (footer_entry_icon_press_cb),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]