libpurple/idle.c

changeset 17349
c5abad45e8a7
parent 17248
2f4bf39e6ab4
child 17536
b04036df5ac6
child 18082
de4d785ab7ad
equal deleted inserted replaced
17348:9fe40f6f8ad0 17349:c5abad45e8a7
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.

mercurial