diff src/gtksavedstatuses.c @ 11651:723487d07aa0

[gaim-migrate @ 13935] Getting some stuff out of my tree. I think I mostly just added a "transient" boolean to savedstatuses. If a savedstatus is transient, it means it was created on the fly by Gaim when the user set himself to "away." Transient statuses will hang around for a few days in case the user wants to use it again, but eventually it'll disappear. They should also not appear in the saved status editor. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Oct 2005 01:29:43 +0000
parents 30ad548e8537
children 8d7c99f20e4c
line wrap: on
line diff
--- a/src/gtksavedstatuses.c	Thu Oct 13 00:53:01 2005 +0000
+++ b/src/gtksavedstatuses.c	Thu Oct 13 01:29:43 2005 +0000
@@ -230,6 +230,9 @@
 	const char *type;
 	char *message;
 
+	if (gaim_savedstatus_is_transient(saved_status))
+		return;
+
 	title = gaim_savedstatus_get_title(saved_status);
 	type = gaim_primitive_get_name_from_type(gaim_savedstatus_get_type(saved_status));
 	message = gaim_markup_strip_html(gaim_savedstatus_get_message(saved_status));