diff src/gaimrc.c @ 6065:3a40666c08b4

[gaim-migrate @ 6515] These be away messages. They don't do nothing that the old away messages ain't done, but they save themselves in ~/.gaim/status.xml instead of ~/.gaimrc. Astute CVS watchers will have noticed a bit of a trend like that. So in the future status.xml will have all sorts of cool stuff (I have big plans) but it's kinda boring for now. Also, I should've done this weeks ago. I should stop being busy. I'd like to give a shoutout to my boy Rob Flynn, keepin' it real in Atlanta. You know you my boy, Dawg. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 08 Jul 2003 23:48:10 +0000
parents 80e3641ee9eb
children 6a3b676eb36a
line wrap: on
line diff
--- a/src/gaimrc.c	Tue Jul 08 23:07:13 2003 +0000
+++ b/src/gaimrc.c	Tue Jul 08 23:48:10 2003 +0000
@@ -337,8 +337,10 @@
 		if (!fgets(buf, sizeof(buf), f))
 			return;
 
-		if (buf[0] == '}')
+		if (buf[0] == '}') {
+			gaim_status_sync();
 			return;
+		}
 
 		p = parse_line(buf, &parse_buffer);
 		if (!strcmp(p->option, "message")) {
@@ -361,6 +363,7 @@
 		g_snprintf(a->message, sizeof(a->message), "%s", BORING_DEFAULT_AWAY_MSG);
 		away_messages = g_slist_append(away_messages, a);
 	}
+	gaim_status_sync();
 }
 
 /*