diff pidgin/gtkstatusbox.c @ 16332:89328a54948b

For Luke. Fixes saved status selection
author Sean Egan <seanegan@gmail.com>
date Mon, 23 Apr 2007 21:51:06 +0000
parents cf62255b0a74
children bf353c85959a
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Mon Apr 23 21:05:15 2007 +0000
+++ b/pidgin/gtkstatusbox.c	Mon Apr 23 21:51:06 2007 +0000
@@ -1511,7 +1511,6 @@
 		gtk_tree_row_reference_free(status_box->active_row);
 
 	status_box->active_row = gtk_tree_row_reference_new(GTK_TREE_MODEL(status_box->dropdown_store), path);
-
 	pidgin_status_box_popdown (status_box);
 	pidgin_status_box_changed(status_box);
 }
@@ -2387,7 +2386,7 @@
 
 	if (GTK_WIDGET_IS_SENSITIVE(GTK_WIDGET(status_box)))
 	{
-		if (type == PIDGIN_STATUS_BOX_TYPE_POPULAR)
+		if (type == PIDGIN_STATUS_BOX_TYPE_POPULAR || type == PIDGIN_STATUS_BOX_TYPE_SAVED_POPULAR)
 		{
 			PurpleSavedStatus *saved;
 			saved = purple_savedstatus_find_by_creation_time(GPOINTER_TO_INT(data));