diff src/prefs.c @ 5295:399390d74514

[gaim-migrate @ 5667] (17:45:56) deryni: http://deryni.perlmonk.org/idle_timer.diff <- turns off the 30 second update timer when 'show idle times' is off (it shouldn't affect anything else) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 04 May 2003 21:47:33 +0000
parents eae93f3e46bd
children 72f102ca9982
line wrap: on
line diff
--- a/src/prefs.c	Sun May 04 03:32:18 2003 +0000
+++ b/src/prefs.c	Sun May 04 21:47:33 2003 +0000
@@ -1974,18 +1974,22 @@
 	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_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)