[Xfce4-commits] <xfce4-screenshooter:master> Make enter validate the ZimageZ dialog.
Jérôme Guelfucci
jeromeg at xfce.org
Fri Aug 14 00:26:23 CEST 2009
Updating branch refs/heads/master
to a5aaeb9c5585b003c53554bd7db1d59e6c76be4e (commit)
from fcaefd149ac69f575544fca26c57ab56dcd26ee6 (commit)
commit a5aaeb9c5585b003c53554bd7db1d59e6c76be4e
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Aug 9 12:58:20 2009 +0200
Make enter validate the ZimageZ dialog.
ChangeLog | 4 ++++
lib/screenshooter-zimagez.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 477a72b..847cd4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-08-09 jeromeg
+Make enter validate the ZimageZ dialog.
+
+2009-08-09 jeromeg
+
Use sd->title as a title in the ZimageZ information.
2009-08-08 jeromeg
diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index 28005ea..c506869 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -730,6 +730,7 @@ cb_ask_for_information (ScreenshooterJob *job,
gtk_widget_set_tooltip_text (user_entry,
_("Your Zimagez user name, if you do not have one yet"
" please create one on the Web page linked above"));
+ gtk_entry_set_activates_default (GTK_ENTRY (user_entry), TRUE);
gtk_table_attach_defaults (GTK_TABLE (table), user_entry, 1, 2, 0, 1);
/* Create the password label */
@@ -745,6 +746,7 @@ cb_ask_for_information (ScreenshooterJob *job,
password_entry = gtk_entry_new ();
gtk_widget_set_tooltip_text (password_entry, _("The password for the user above"));
gtk_entry_set_visibility (GTK_ENTRY (password_entry), FALSE);
+ gtk_entry_set_activates_default (GTK_ENTRY (password_entry), TRUE);
gtk_table_attach_defaults (GTK_TABLE (table), password_entry, 1, 2, 1, 2);
/* Create the title label */
@@ -760,6 +762,7 @@ cb_ask_for_information (ScreenshooterJob *job,
gtk_widget_set_tooltip_text (title_entry,
_("The title of the screenshot, it will be used when"
" displaying the screenshot on ZimageZ"));
+ gtk_entry_set_activates_default (GTK_ENTRY (title_entry), TRUE);
gtk_table_attach_defaults (GTK_TABLE (table), title_entry, 1, 2, 2, 3);
/* Create the comment label */
@@ -776,6 +779,7 @@ cb_ask_for_information (ScreenshooterJob *job,
gtk_widget_set_tooltip_text (title_entry,
_("A comment on the screenshot, it will be used when"
" displaying the screenshot on ZimageZ"));
+ gtk_entry_set_activates_default (GTK_ENTRY (comment_entry), TRUE);
gtk_table_attach_defaults (GTK_TABLE (table), comment_entry, 1, 2, 3, 4);
/* Set the values */
More information about the Xfce4-commits
mailing list