comparison libpurple/idle.c @ 17257:42c2d75b3d3e

Update a comment: We don't check idle status every 5 seconds any more. Fixes #1113
author Richard Laager <rlaager@wiktel.com>
date Fri, 25 May 2007 16:17:50 +0000
parents b27e535cce50
children 010e8f32a0af 3c4811489e30
comparison
equal deleted inserted replaced
17256:19678776d406 17257:42c2d75b3d3e
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.