changeset 2645:f04705b6dca7

[gaim-migrate @ 2658] i'm completely not thinking today. it doesn't matter because option will never equal two different things. but it still looks prettier. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 31 Oct 2001 23:46:54 +0000
parents 3618a207f1bf
children 2555683e8dc8
files src/prefs.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Wed Oct 31 23:40:53 2001 +0000
+++ b/src/prefs.c	Wed Oct 31 23:46:54 2001 +0000
@@ -2569,10 +2569,8 @@
 	if (!blist)
 		return;
 
-	if (option == OPT_BLIST_NO_BUTTONS) {
+	if (option == OPT_BLIST_NO_BUTTONS)
 		build_imchat_box(!(blist_options & OPT_BLIST_NO_BUTTONS));
-		update_button_pix();
-	}
 
 	if (option == OPT_BLIST_SHOW_GRPNUM)
 		update_num_groups();
@@ -2580,7 +2578,7 @@
 	if (option == OPT_BLIST_NO_MT_GRP)
 		toggle_show_empty_groups();
 
-	if (option == OPT_BLIST_SHOW_BUTTON_XPM)
+	if ((option == OPT_BLIST_SHOW_BUTTON_XPM) || (option == OPT_BLIST_NO_BUTTONS))
 		update_button_pix();
 
 	if (option == OPT_BLIST_SHOW_PIXMAPS)