[gaim-migrate @ 9656]

Thu, 06 May 2004 05:24:15 +0000

author
Kevin Barry <gorn@users.sourceforge.net>
date
Thu, 06 May 2004 05:24:15 +0000
changeset 8887
a262c675cda0
parent 8886
df24f18563dc
child 8888
2e0a3c5d3629

[gaim-migrate @ 9656]
A patch from GoRN (Kevin Barry) to make the text entry in the edit-an-
away-message box focusable.

committer: Mark Doliner <markdoliner@pidgin.im>

src/dialogs.c file | annotate | diff | comparison | revisions
--- 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

mercurial