# HG changeset patch # User Mark Doliner # Date 1141192656 0 # Node ID 708baf7cfee83a120838d05d24e21a11a11167ba # Parent af03d3b20cd2e91d084fd42a0a7d236447dc7fe6 [gaim-migrate @ 15731] sf patch #1439082, from Sadrul Habib Chowdhury "It is not necessary to change the selection in the status box when you start typing. This removes a bug for account-boxes which always set the status of the account to what the global-status was set to instead of the account-box when you typed something in the account-box entry. (The selection was being updated when user started typing because the statusbox used to select and show transient status titles -- for a couple of days. So it was necessary to change to the corresponding primitive-status when user started typing)" committer: Tailor Script diff -r af03d3b20cd2 -r 708baf7cfee8 src/gtkstatusbox.c --- a/src/gtkstatusbox.c Wed Mar 01 05:37:26 2006 +0000 +++ b/src/gtkstatusbox.c Wed Mar 01 05:57:36 2006 +0000 @@ -1518,16 +1518,6 @@ if (status_box->typing != 0) { gtk_gaim_status_box_pulse_typing(status_box); g_source_remove(status_box->typing); - } else { - gint index; - GaimSavedStatus *saved = gaim_savedstatus_get_current(); - - index = get_statusbox_index(status_box, saved); - - gtk_widget_set_sensitive(GTK_WIDGET(status_box), FALSE); - gtk_combo_box_set_active(GTK_COMBO_BOX(status_box), index); - gtk_widget_set_sensitive(GTK_WIDGET(status_box), TRUE); - gtk_widget_grab_focus(status_box->imhtml); } status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); }