Mercurial > pidgin
comparison src/gtkmain.c @ 12272:3ef381cdc47e
[gaim-migrate @ 14574]
This should fix idle time reporting for all accounts. Previously it would
only work for one account because I'm dumb.
We're also doing one idleness check every 5 seconds instead of checking
for each account every 20 seconds.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 30 Nov 2005 06:03:49 +0000 |
parents | b7a51e68d0b8 |
children | 0692d20d9d81 |
comparison
equal
deleted
inserted
replaced
12271:3c6675e1400e | 12272:3ef381cdc47e |
---|---|
257 gaim_privacy_set_ui_ops(gaim_gtk_privacy_get_ui_ops()); | 257 gaim_privacy_set_ui_ops(gaim_gtk_privacy_get_ui_ops()); |
258 gaim_request_set_ui_ops(gaim_gtk_request_get_ui_ops()); | 258 gaim_request_set_ui_ops(gaim_gtk_request_get_ui_ops()); |
259 gaim_sound_set_ui_ops(gaim_gtk_sound_get_ui_ops()); | 259 gaim_sound_set_ui_ops(gaim_gtk_sound_get_ui_ops()); |
260 gaim_connections_set_ui_ops(gaim_gtk_connections_get_ui_ops()); | 260 gaim_connections_set_ui_ops(gaim_gtk_connections_get_ui_ops()); |
261 gaim_whiteboard_set_ui_ops(gaim_gtk_whiteboard_get_ui_ops()); | 261 gaim_whiteboard_set_ui_ops(gaim_gtk_whiteboard_get_ui_ops()); |
262 #ifdef USE_SCREENSAVER | |
263 gaim_idle_set_ui_ops(gaim_gtk_idle_get_ui_ops()); | |
264 #endif | |
262 | 265 |
263 gaim_gtk_stock_init(); | 266 gaim_gtk_stock_init(); |
264 gaim_gtk_prefs_init(); | 267 gaim_gtk_prefs_init(); |
265 gaim_gtk_account_init(); | 268 gaim_gtk_account_init(); |
266 gaim_gtk_blist_init(); | 269 gaim_gtk_blist_init(); |
271 gaim_gtk_xfers_init(); | 274 gaim_gtk_xfers_init(); |
272 gaim_gtk_roomlist_init(); | 275 gaim_gtk_roomlist_init(); |
273 #ifdef HAVE_VV | 276 #ifdef HAVE_VV |
274 gaim_gtk_media_init(); | 277 gaim_gtk_media_init(); |
275 #endif | 278 #endif |
276 gaim_gtk_idle_init(); | |
277 } | 279 } |
278 | 280 |
279 static void | 281 static void |
280 gaim_gtk_quit(void) | 282 gaim_gtk_quit(void) |
281 { | 283 { |
292 gaim_gtk_status_uninit(); | 294 gaim_gtk_status_uninit(); |
293 gaim_gtk_blist_uninit(); | 295 gaim_gtk_blist_uninit(); |
294 gaim_gtk_account_uninit(); | 296 gaim_gtk_account_uninit(); |
295 gaim_gtk_xfers_uninit(); | 297 gaim_gtk_xfers_uninit(); |
296 gaim_gtk_debug_uninit(); | 298 gaim_gtk_debug_uninit(); |
297 gaim_gtk_idle_uninit(); | |
298 | 299 |
299 /* and end it all... */ | 300 /* and end it all... */ |
300 gtk_main_quit(); | 301 gtk_main_quit(); |
301 } | 302 } |
302 | 303 |