Mercurial > pidgin.yaz
changeset 10311:b7566fc34c6c
[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 <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 03 Dec 2004 04:02:10 +0000 |
parents | 926bd0e5f487 |
children | 1f2fe577ffb6 |
files | src/gtkblist.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);