Mercurial > pidgin.yaz
diff src/idle.c @ 9944:e4a27c9aec4c
[gaim-migrate @ 10838]
with much rejoicing, and massive thanks to the efforts of Christian, and
all who have helped him, I present to you the incomplete status
rewrite!
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 03 Sep 2004 21:35:52 +0000 |
parents | 4a15962c344a |
children | ced29c7b396c |
line wrap: on
line diff
--- a/src/idle.c Fri Sep 03 21:21:25 2004 +0000 +++ b/src/idle.c Fri Sep 03 21:35:52 2004 +0000 @@ -108,14 +108,19 @@ if(!default_away && away_messages) default_away = away_messages->data; +*/ gaim_debug(GAIM_DEBUG_INFO, "idle", "Making %s away automatically\n", gaim_account_get_username(account)); + +/* XXX CORE/UI if (g_list_length(gaim_connections_get_all()) == 1) do_away_message(NULL, default_away); else if (default_away) serv_set_away(gc, GAIM_AWAY_CUSTOM, default_away->message); +*/ + gc->is_auto_away = 1; } else gc->is_auto_away = 2; @@ -126,6 +131,8 @@ return TRUE; } gc->is_auto_away = 0; + +/* XXX CORE/UI if (awaymessage == NULL) { gaim_debug(GAIM_DEBUG_INFO, "idle", "Removing auto-away message for %s\n", gaim_account_get_username(account)); @@ -140,6 +147,7 @@ serv_set_away(gc, GAIM_AWAY_CUSTOM, awaymessage->message); } } +*/ }