Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/src/gtkmain.c Wed Nov 30 06:02:38 2005 +0000 +++ b/src/gtkmain.c Wed Nov 30 06:03:49 2005 +0000 @@ -259,6 +259,9 @@ gaim_sound_set_ui_ops(gaim_gtk_sound_get_ui_ops()); gaim_connections_set_ui_ops(gaim_gtk_connections_get_ui_ops()); gaim_whiteboard_set_ui_ops(gaim_gtk_whiteboard_get_ui_ops()); +#ifdef USE_SCREENSAVER + gaim_idle_set_ui_ops(gaim_gtk_idle_get_ui_ops()); +#endif gaim_gtk_stock_init(); gaim_gtk_prefs_init(); @@ -273,7 +276,6 @@ #ifdef HAVE_VV gaim_gtk_media_init(); #endif - gaim_gtk_idle_init(); } static void @@ -294,7 +296,6 @@ gaim_gtk_account_uninit(); gaim_gtk_xfers_uninit(); gaim_gtk_debug_uninit(); - gaim_gtk_idle_uninit(); /* and end it all... */ gtk_main_quit();