diff src/idle.c @ 11654:bf6ba37db13b

[gaim-migrate @ 13938] Some changes to the gtkstatusbar. I took out all the saved statuses. They should be replaced by a list of the most recently used saved+transient statuses. I also removed the /core/away/default_message preference and replaced it with /core/status/current and /core/status/idleaway. These new prefs store the title of the saved status that is being used and should be used when you become idle, respectively. Some bits still need some work, but I think this is moving in the right direction. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Oct 2005 02:50:13 +0000
parents fb6e85c55fb8
children 8004885fabbe
line wrap: on
line diff
--- a/src/idle.c	Thu Oct 13 02:21:26 2005 +0000
+++ b/src/idle.c	Thu Oct 13 02:50:13 2005 +0000
@@ -147,15 +147,14 @@
 
 		if (gaim_presence_is_available(presence))
 		{
-			const char *default_name;
+			const char *idleaway_name;
 
 			gaim_debug_info("idle", "Making %s auto-away\n",
 							gaim_account_get_username(account));
 
-			default_name = gaim_prefs_get_string("/core/away/default_message");
-
-			/* XXX STATUS AWAY CORE/UI */
-			/* Need to set the default_name away message for this connection here */
+			/* TODO XXX STATUS AWAY CORE/UI */
+			/* Mark our accounts "away" using the idleaway status */
+			idleaway_name = gaim_prefs_get_string("/core/status/idleaway");
 
 			gc->is_auto_away = GAIM_IDLE_AUTO_AWAY;
 		} else {