changeset 2644:3618a207f1bf

[gaim-migrate @ 2657] better to only do this once. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 31 Oct 2001 23:40:53 +0000
parents df64d7ca0e03
children f04705b6dca7
files src/prefs.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Wed Oct 31 20:39:12 2001 +0000
+++ b/src/prefs.c	Wed Oct 31 23:40:53 2001 +0000
@@ -2586,10 +2586,7 @@
 	if (option == OPT_BLIST_SHOW_PIXMAPS)
 		toggle_buddy_pixmaps();
 
-	if (option == OPT_BLIST_GREY_IDLERS)
-		update_idle_times();
-
-	if (option == OPT_BLIST_SHOW_IDLETIME)
+	if ((option == OPT_BLIST_GREY_IDLERS) || (option == OPT_BLIST_SHOW_IDLETIME))
 		update_idle_times();
 }