Mercurial > pidgin.yaz
comparison src/prefs.c @ 1296:11e5b1220028
[gaim-migrate @ 1306]
made the pixmaps work correctly
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 18 Dec 2000 23:31:04 +0000 |
parents | 677e2c9e8baf |
children | c72b2eed92cb |
comparison
equal
deleted
inserted
replaced
1295:13e68fb13744 | 1296:11e5b1220028 |
---|---|
2021 | 2021 |
2022 void set_display_option(GtkWidget *w, int *option) | 2022 void set_display_option(GtkWidget *w, int *option) |
2023 { | 2023 { |
2024 display_options = display_options ^ (int)option; | 2024 display_options = display_options ^ (int)option; |
2025 | 2025 |
2026 if (blist && ((int)option == OPT_DISP_NO_BUTTONS)) | 2026 if (blist && ((int)option == OPT_DISP_NO_BUTTONS)) { |
2027 build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS)); | 2027 build_imchat_box(!(display_options & OPT_DISP_NO_BUTTONS)); |
2028 update_button_pix(); | |
2029 } | |
2028 | 2030 |
2029 if (blist && ((int)option == OPT_DISP_SHOW_GRPNUM)) | 2031 if (blist && ((int)option == OPT_DISP_SHOW_GRPNUM)) |
2030 update_num_groups(); | 2032 update_num_groups(); |
2031 | 2033 |
2032 if (blist && ((int)option == OPT_DISP_NO_MT_GRP)) | 2034 if (blist && ((int)option == OPT_DISP_NO_MT_GRP)) |
2033 toggle_show_empty_groups(); | 2035 toggle_show_empty_groups(); |
2036 | |
2037 if (blist && ((int)option == OPT_DISP_SHOW_BUTTON_XPM)) | |
2038 update_button_pix(); | |
2034 | 2039 |
2035 #ifdef USE_APPLET | 2040 #ifdef USE_APPLET |
2036 update_pixmaps(); | 2041 update_pixmaps(); |
2037 #endif | 2042 #endif |
2038 | 2043 |