Mercurial > pidgin.yaz
diff src/prefs.c @ 5297:d4c9c5491812
[gaim-migrate @ 5669]
Deryni turned off the 30 sec timer when idle times aren't being displayed
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 05 May 2003 20:38:49 +0000 |
parents | 72f102ca9982 |
children | 1f901484599d |
line wrap: on
line diff
--- a/src/prefs.c Sun May 04 23:06:08 2003 +0000 +++ b/src/prefs.c Mon May 05 20:38:49 2003 +0000 @@ -1974,18 +1974,23 @@ gtkblist = GAIM_GTK_BLIST(gaim_get_blist()); blist_options ^= option; - + if (!gtkblist) return; - - if (option == OPT_BLIST_SHOW_WARN || - option == OPT_BLIST_SHOW_IDLETIME) + + if (option == OPT_BLIST_SHOW_WARN) gaim_gtk_blist_update_columns(); + else if (option == OPT_BLIST_SHOW_IDLETIME) { + gaim_gtk_blist_update_refresh_timeout(); + gaim_gtk_blist_update_columns(); + } else if (option == OPT_BLIST_SHOW_ICONS) { + gaim_gtk_blist_update_refresh_timeout(); gaim_gtk_blist_refresh(gaim_get_blist()); gaim_gtk_blist_update_columns(); } else gaim_gtk_blist_refresh(gaim_get_blist()); + } static void set_convo_option(GtkWidget *w, int option)