changeset 18676:1afeca132d68

Fixes #1905 'Better solution to 'Idleness Infinite Recursion''
author Sean Egan <seanegan@gmail.com>
date Sat, 28 Jul 2007 05:37:02 +0000
parents cb91bb07eeff
children d36aceb74a46
files libpurple/savedstatuses.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/savedstatuses.c	Sat Jul 28 05:30:19 2007 +0000
+++ b/libpurple/savedstatuses.c	Sat Jul 28 05:37:02 2007 +0000
@@ -869,9 +869,9 @@
 		purple_idle_touch();
 
 	old = purple_savedstatus_get_current();
-	purple_prefs_set_bool("/purple/savedstatus/isidleaway", idleaway);
 	saved_status = idleaway ? purple_savedstatus_get_idleaway()
 			: purple_savedstatus_get_default();
+	purple_prefs_set_bool("/purple/savedstatus/isidleaway", idleaway);
 
 	if (idleaway && (purple_savedstatus_get_type(old) != PURPLE_STATUS_AVAILABLE))
 		/* Our global status is already "away," so don't change anything */