# HG changeset patch # User Luke Schierer # Date 1111808340 0 # Node ID 8b2c81d9b2719bd8dcdb096beb87bf21960eaf88 # Parent d5f2ebf794298c1d3b1d199f01574bd0e8b86d2f [gaim-migrate @ 12336] " Here's a simple patch that moves the focus to the Alias textbox if a screenname has already been specified. Basically, this covers the scenario where you've clicked Add on someone in a chat window. I'm assuming that you really want to add that person, so there's no need to change the screenname. This moves the focus to the alias box which is what I always want to type next." --rlaager makes sense to me. committer: Tailor Script diff -r d5f2ebf79429 -r 8b2c81d9b271 src/gtkblist.c --- a/src/gtkblist.c Sat Mar 26 03:08:03 2005 +0000 +++ b/src/gtkblist.c Sat Mar 26 03:39:00 2005 +0000 @@ -4319,6 +4319,9 @@ if (alias != NULL) gtk_entry_set_text(GTK_ENTRY(data->entry_for_alias), alias); + if (username != NULL) + gtk_widget_grab_focus(GTK_WIDGET(data->entry_for_alias)); + gtk_entry_set_activates_default (GTK_ENTRY(data->entry_for_alias), TRUE); gaim_set_accessible_label (data->entry_for_alias, label);