changeset 6727:34f87e4078fc

[gaim-migrate @ 7254] Daniel Westermann-Clark (potpieman) noticed that: " In 0.67, removing an away message does not prompt a save of status.xml. This means that, unless a user adds a different away message, away messages appear to come back. This patch calls gaim_status_sync to correctly save the away messages on removal." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 03 Sep 2003 11:30:32 +0000
parents 3c234b619685
children fa7359c3f93c
files src/away.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/away.c	Wed Sep 03 07:43:45 2003 +0000
+++ b/src/away.c	Wed Sep 03 11:30:32 2003 +0000
@@ -25,6 +25,7 @@
 #include "plugin.h"
 #include "prefs.h"
 #include "prpl.h"
+#include "status.h"
 #include "util.h"
 
 /* XXX CORE/UI: Until we can get rid of the message queue stuff... */
@@ -298,6 +299,7 @@
 	away_messages = g_slist_remove(away_messages, a);
 	g_free(a);
 	do_away_menu();
+	gaim_status_sync();
 }
 
 static void set_gc_away(GObject *obj, GaimConnection *gc)