comparison 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
comparison
equal deleted inserted replaced
1069:5d4926907b21 1070:b288f17c2fb2
1681 general_options = general_options ^ (int)option; 1681 general_options = general_options ^ (int)option;
1682 1682
1683 if ((int)option == OPT_GEN_LOG_ALL) 1683 if ((int)option == OPT_GEN_LOG_ALL)
1684 update_log_convs(); 1684 update_log_convs();
1685 1685
1686 /*
1687 if (prefrem)
1688 gtk_signal_handler_block_by_data(GTK_OBJECT(prefrem), (int *)OPT_GEN_REMEMBER_PASS);
1689 if (remember)
1690 gtk_signal_handler_block_by_data(GTK_OBJECT(remember), (int *)OPT_GEN_REMEMBER_PASS);
1691 if (prefrem)
1692 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(prefrem),
1693 (general_options & OPT_GEN_REMEMBER_PASS));
1694 if (remember)
1695 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember),
1696 (general_options & OPT_GEN_REMEMBER_PASS));
1697 if (prefrem)
1698 gtk_signal_handler_unblock_by_data(GTK_OBJECT(prefrem), (int *)OPT_GEN_REMEMBER_PASS);
1699 if (remember)
1700 gtk_signal_handler_unblock_by_data(GTK_OBJECT(remember), (int *)OPT_GEN_REMEMBER_PASS);
1701 */
1702
1703 save_prefs(); 1686 save_prefs();
1704 } 1687 }
1705 1688
1706 void set_display_option(GtkWidget *w, int *option) 1689 void set_display_option(GtkWidget *w, int *option)
1707 { 1690 {
1708 display_options = display_options ^ (int)option; 1691 display_options = display_options ^ (int)option;
1709 1692
1710 if (blist) build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS)); 1693 if (blist && ((int)option == OPT_DISP_NO_BUTTONS))
1711 1694 build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS));
1712 if (blist) update_button_pix(); 1695
1696 if (blist && ((int)option == OPT_DISP_SHOW_GRPNUM))
1697 update_num_groups();
1713 1698
1714 #ifdef USE_APPLET 1699 #ifdef USE_APPLET
1715 update_pixmaps(); 1700 update_pixmaps();
1716 #endif 1701 #endif
1717 1702