Closes #348 'Conversation -> Add (for Chats) should move focus to the alias field.'

Sat, 26 May 2007 18:03:09 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Sat, 26 May 2007 18:03:09 +0000
changeset 17400
f09b952bdbeb
parent 17399
4b33b14a5459
child 17401
4db9d9d3e928
child 17847
6bf32f3ace90

Closes #348 'Conversation -> Add (for Chats) should move focus to the alias field.'

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Sat May 26 16:05:47 2007 +0000
+++ b/pidgin/gtkblist.c	Sat May 26 18:03:09 2007 +0000
@@ -5781,6 +5781,8 @@
 	gtk_box_pack_end(GTK_BOX(rowbox), data->alias_entry, TRUE, TRUE, 0);
 	gtk_entry_set_activates_default(GTK_ENTRY(data->alias_entry), TRUE);
 	pidgin_set_accessible_label (data->alias_entry, label);
+	if (name != NULL)
+		gtk_widget_grab_focus(data->alias_entry);
 
 	rowbox = gtk_hbox_new(FALSE, 5);
 	gtk_box_pack_start(GTK_BOX(vbox), rowbox, FALSE, FALSE, 0);

mercurial