diff src/prefs.c @ 1070:b288f17c2fb2

[gaim-migrate @ 1080] numbers in groups. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 05 Nov 2000 13:22:01 +0000
parents 38452403563b
children 81d19577285a
line wrap: on
line diff
--- a/src/prefs.c	Sun Nov 05 12:17:32 2000 +0000
+++ b/src/prefs.c	Sun Nov 05 13:22:01 2000 +0000
@@ -1683,23 +1683,6 @@
        	if ((int)option == OPT_GEN_LOG_ALL)
        		update_log_convs();
 
-	/*
-	if (prefrem)
-		gtk_signal_handler_block_by_data(GTK_OBJECT(prefrem), (int *)OPT_GEN_REMEMBER_PASS);
-	if (remember)
-		gtk_signal_handler_block_by_data(GTK_OBJECT(remember), (int *)OPT_GEN_REMEMBER_PASS);
-	if (prefrem)
-		gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(prefrem),
-			(general_options & OPT_GEN_REMEMBER_PASS));
-	if (remember)
-		gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember),
-			(general_options & OPT_GEN_REMEMBER_PASS));
-	if (prefrem)
-		gtk_signal_handler_unblock_by_data(GTK_OBJECT(prefrem), (int *)OPT_GEN_REMEMBER_PASS);
-	if (remember)
-		gtk_signal_handler_unblock_by_data(GTK_OBJECT(remember), (int *)OPT_GEN_REMEMBER_PASS);
-	*/
-
 	save_prefs();
 }
 
@@ -1707,9 +1690,11 @@
 {
         display_options = display_options ^ (int)option;
 
-	if (blist) build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS));
+	if (blist && ((int)option == OPT_DISP_NO_BUTTONS))
+		build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS));
 
-	if (blist) update_button_pix();
+	if (blist && ((int)option == OPT_DISP_SHOW_GRPNUM))
+		update_num_groups();
 
 #ifdef USE_APPLET
 	update_pixmaps();