comparison libpurple/idle.c @ 18020:3c4811489e30

propagate from branch 'im.pidgin.rlaager.merging.for_2_1_0' (head 24ee3feb7b0e68036eebb50b90278e581fea942a) to branch 'im.pidgin.pidgin.2.1.0' (head 996b7212bd0ff741b6d317a46490f9e903bd624d)
author Richard Laager <rlaager@wiktel.com>
date Mon, 28 May 2007 08:06:28 +0000
parents e9475e67e277 42c2d75b3d3e
children 678d78b7fa34
comparison
equal deleted inserted replaced
18019:1e674c0886b1 18020:3c4811489e30
100 * Purple should start reporting idle time to the server. Maybe 100 * Purple should start reporting idle time to the server. Maybe
101 * you've returned from being idle. Maybe your auto-away message 101 * you've returned from being idle. Maybe your auto-away message
102 * should be set. 102 * should be set.
103 * 103 *
104 * There is no harm to calling this many many times, other than 104 * There is no harm to calling this many many times, other than
105 * it will be kinda slow. This is called every 5 seconds by a 105 * it will be kinda slow. This is called by a timer set when
106 * timer set when Purple starts. It is also called when 106 * Purple starts. It is also called when you send an IM, a chat, etc.
107 * you send an IM, a chat, etc.
108 * 107 *
109 * This function has 3 sections. 108 * This function has 3 sections.
110 * 1. Get your idle time. It will query XScreenSaver or Windows 109 * 1. Get your idle time. It will query XScreenSaver or Windows
111 * or use the Purple idle time. Whatever. 110 * or use the Purple idle time. Whatever.
112 * 2. Set or unset your auto-away message. 111 * 2. Set or unset your auto-away message.