changeset 8887:56339eb6dab1

[gaim-migrate @ 9656] A patch from GoRN (Kevin Barry) to make the text entry in the edit-an- away-message box focusable. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 06 May 2004 05:24:15 +0000
parents 61602bc26a65
children 8592f296db16
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Thu May 06 05:17:36 2004 +0000
+++ b/src/dialogs.c	Thu May 06 05:24:15 2004 +0000
@@ -790,7 +790,6 @@
 	ca->entry = gtk_entry_new();
 	gtk_box_pack_start(GTK_BOX(hbox), ca->entry, TRUE, TRUE, 0);
 	gaim_set_accessible_label (ca->entry, label);
-	gtk_widget_grab_focus(ca->entry);
 
 	/* Toolbar */
 	ca->toolbar = gtk_imhtmltoolbar_new();
@@ -856,6 +855,7 @@
 	gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0);
 
 	gtk_widget_show_all(ca->window);
+	gtk_widget_grab_focus(ca->text);
 }
 
 static void