diff libgaim/savedstatuses.c @ 14663:587268c9c6d7

[gaim-migrate @ 17409] Finish up making the status box work nicely when you have accounts with identical statuses enabled. This adds some (further) complexity to the status box, but I actually eliminated some unnecessary regenerations and refreshes and stuff. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 30 Sep 2006 20:09:28 +0000
parents 0c3957362c69
children 091b6ce6372e
line wrap: on
line diff
--- a/libgaim/savedstatuses.c	Sat Sep 30 08:24:17 2006 +0000
+++ b/libgaim/savedstatuses.c	Sat Sep 30 20:09:28 2006 +0000
@@ -910,6 +910,7 @@
 	{
 		status = (GaimSavedStatus *)iter->data;
 		if ((status->type == type) && gaim_savedstatus_is_transient(status) &&
+			!gaim_savedstatus_has_substatuses(status) &&
 			(((status->message == NULL) && (message == NULL)) ||
 			((status->message != NULL) && (message != NULL) && !strcmp(status->message, message))))
 		{