changeset 13358:708baf7cfee8

[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 <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Mar 2006 05:57:36 +0000
parents af03d3b20cd2
children ca250092a23a
files src/gtkstatusbox.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	}