# HG changeset patch # User Mark Doliner # Date 1102046530 0 # Node ID b7566fc34c6c269a81ce6cf5a145ebb8c6c78489 # Parent 926bd0e5f4871c96f87e40c3e43de482e1aae85d [gaim-migrate @ 11505] Hitting the enter key when you're cursor is in the alias field of the Add Chat dialog now activates the dialogs default action. Closes bug 1075200 and patch 1078079. Thanks to Andrew Hart for taking a stab at this and wounding, but not killing. Killing is wrong! committer: Tailor Script diff -r 926bd0e5f487 -r b7566fc34c6c src/gtkblist.c --- a/src/gtkblist.c Fri Dec 03 03:37:10 2004 +0000 +++ b/src/gtkblist.c Fri Dec 03 04:02:10 2004 +0000 @@ -145,7 +145,9 @@ #ifdef WANT_DROP_SHADOW /**************************** Weird drop shadow stuff *******************/ -/* This is based on a patch for drop shadows in GTK menus available at http://www.xfce.org/gtkmenu-shadow/ */ +/* This is based on a patch for drop shadows in GTK menus available at + * http://www.xfce.org/gtkmenu-shadow/ + */ enum side { EAST_SIDE, @@ -4368,6 +4370,7 @@ if (alias != NULL) gtk_entry_set_text(GTK_ENTRY(data->alias_entry), alias); gtk_box_pack_end(GTK_BOX(rowbox), data->alias_entry, TRUE, TRUE, 0); + gtk_entry_set_activates_default(GTK_ENTRY(data->alias_entry), TRUE); gaim_set_accessible_label (data->alias_entry, label); rowbox = gtk_hbox_new(FALSE, 5);