Mercurial > pidgin.yaz
comparison src/idle.c @ 2313:bd9d403fb15b
[gaim-migrate @ 2323]
more room
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 20 Sep 2001 01:23:04 +0000 |
parents | 3ce77b547cf2 |
children | 2927c2c26fe6 |
comparison
equal
deleted
inserted
replaced
2312:766603034af8 | 2313:bd9d403fb15b |
---|---|
67 idle_time = 0; | 67 idle_time = 0; |
68 } else | 68 } else |
69 #endif /* USE_SCREENSAVER */ | 69 #endif /* USE_SCREENSAVER */ |
70 idle_time = t - gc->lastsent; | 70 idle_time = t - gc->lastsent; |
71 | 71 |
72 if ((general_options & OPT_GEN_AUTO_AWAY) && (idle_time > (60 * auto_away)) && | 72 if ((away_options & OPT_AWAY_AUTO) && (idle_time > (60 * auto_away)) && |
73 (!gc->is_auto_away)) { | 73 (!gc->is_auto_away)) { |
74 if (!gc->away) { | 74 if (!gc->away) { |
75 debug_printf("making %s away automatically\n", gc->username); | 75 debug_printf("making %s away automatically\n", gc->username); |
76 if (g_slist_length(connections) == 1) | 76 if (g_slist_length(connections) == 1) |
77 do_away_message(NULL, default_away); | 77 do_away_message(NULL, default_away); |