comparison src/prefs.c @ 18:99d91a6c2fbf

[gaim-migrate @ 27] Yet another patch by Eric. Someone needs to stop this boy :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 23 Mar 2000 18:40:39 +0000
parents 34db9f242899
children 05077cb276d4
comparison
equal deleted inserted replaced
17:e5cc6e691bff 18:99d91a6c2fbf
101 101
102 void set_display_option(GtkWidget *w, int *option) 102 void set_display_option(GtkWidget *w, int *option)
103 { 103 {
104 display_options = display_options ^ (int)option; 104 display_options = display_options ^ (int)option;
105 105
106 update_button_pix(); 106 if (blist) update_button_pix();
107 107
108 save_prefs(); 108 save_prefs();
109 } 109 }
110 110
111 void set_sound_option(GtkWidget *w, int *option) 111 void set_sound_option(GtkWidget *w, int *option)
136 /* 136 /*
137 if (data == &show_grp_nums) 137 if (data == &show_grp_nums)
138 update_num_groups(); 138 update_num_groups();
139 if (data == &showidle || data == &showpix) 139 if (data == &showidle || data == &showpix)
140 update_show_idlepix(); 140 update_show_idlepix();
141 if (data == &button_pix) 141 if (data == &button_pix && blist)
142 update_button_pix(); 142 update_button_pix();
143 if (data == &transparent) 143 if (data == &transparent)
144 update_transparency(); 144 update_transparency();
145 */ 145 */
146 146
1004 1004
1005 1005
1006 1006
1007 void debug_print(char *chars) 1007 void debug_print(char *chars)
1008 { 1008 {
1009 if(general_options & OPT_GEN_DEBUG) 1009 if(general_options & OPT_GEN_DEBUG && dw)
1010 gtk_text_insert(GTK_TEXT(dw->entry),NULL, NULL, NULL, chars, strlen(chars)); 1010 gtk_text_insert(GTK_TEXT(dw->entry),NULL, NULL, NULL, chars, strlen(chars));
1011 #ifdef DEBUG 1011 #ifdef DEBUG
1012 printf("%s\n", chars); 1012 printf("%s\n", chars);
1013 #endif 1013 #endif
1014 } 1014 }