comparison src/prefs.c @ 660:b3b5d9d18eea

[gaim-migrate @ 670] No more lag-o-meter. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 10 Aug 2000 22:17:22 +0000
parents 4d3285caa191
children 71ea550c22ac
comparison
equal deleted inserted replaced
659:9e467c13ace7 660:b3b5d9d18eea
87 87
88 sep = gtk_hseparator_new(); 88 sep = gtk_hseparator_new();
89 gtk_box_pack_start(GTK_BOX(box), sep, FALSE, FALSE, 5); 89 gtk_box_pack_start(GTK_BOX(box), sep, FALSE, FALSE, 5);
90 gtk_widget_show(sep); 90 gtk_widget_show(sep);
91 91
92 gaim_button(_("Show Lagometer"), &general_options, OPT_GEN_SHOW_LAGMETER, box);
93 gaim_button(_("Use borderless buttons (requires restart for some buttons)"), &display_options, OPT_DISP_COOL_LOOK, box); 92 gaim_button(_("Use borderless buttons (requires restart for some buttons)"), &display_options, OPT_DISP_COOL_LOOK, box);
94 gaim_button(_("Show Buddy Ticker after restart"), &display_options, OPT_DISP_SHOW_BUDDYTICKER, box); 93 gaim_button(_("Show Buddy Ticker after restart"), &display_options, OPT_DISP_SHOW_BUDDYTICKER, box);
95 if (!dw && (general_options & OPT_GEN_DEBUG)) 94 if (!dw && (general_options & OPT_GEN_DEBUG))
96 general_options = general_options ^ OPT_GEN_DEBUG; 95 general_options = general_options ^ OPT_GEN_DEBUG;
97 debugbutton = gaim_button(_("Show Debug Window"), &general_options, OPT_GEN_DEBUG, box); 96 debugbutton = gaim_button(_("Show Debug Window"), &general_options, OPT_GEN_DEBUG, box);
1231 1230
1232 void set_general_option(GtkWidget *w, int *option) 1231 void set_general_option(GtkWidget *w, int *option)
1233 { 1232 {
1234 general_options = general_options ^ (int)option; 1233 general_options = general_options ^ (int)option;
1235 1234
1236 if ((int)option == OPT_GEN_SHOW_LAGMETER)
1237 update_lagometer(-1);
1238 if ((int)option == OPT_GEN_LOG_ALL) 1235 if ((int)option == OPT_GEN_LOG_ALL)
1239 update_log_convs(); 1236 update_log_convs();
1240 save_prefs(); 1237 save_prefs();
1241 } 1238 }
1242 1239