Mercurial > pidgin.yaz
changeset 17418:202f4df12cf4
Closes #348 'Conversation -> Add (for Chats) should move focus to the alias field.'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 26 May 2007 18:03:09 +0000 |
parents | 3c8ccbc4a667 |
children | 8c3a3407af58 9056a3c1d470 |
files | pidgin/gtkblist.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);