[gaim-migrate @ 7254]

Wed, 03 Sep 2003 11:30:32 +0000

author
Daniel Westermann-Clark
date
Wed, 03 Sep 2003 11:30:32 +0000
changeset 6727
4d5eed3f23e5
parent 6726
1c0b04e4bd92
child 6728
f564e4efefb5

[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: Luke Schierer <lschiere@pidgin.im>

src/away.c file | annotate | diff | comparison | revisions
--- 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)

mercurial