# HG changeset patch # User Eric Warmenhoven # Date 1003810687 0 # Node ID 3e9906e1e5f6810f8650c4cd3645988f8f7237fb # Parent 86eaeb064e8239fc50510ed84eddaf8ea09a5c18 [gaim-migrate @ 2594] beep before esd committer: Tailor Script diff -r 86eaeb064e82 -r 3e9906e1e5f6 src/prefs.c --- a/src/prefs.c Tue Oct 23 04:05:52 2001 +0000 +++ b/src/prefs.c Tue Oct 23 04:18:07 2001 +0000 @@ -1560,6 +1560,15 @@ omenu = gtk_option_menu_new(); menu = gtk_menu_new(); + opt = gtk_menu_item_new_with_label("Console Beep"); + gtk_signal_connect(GTK_OBJECT(opt), "activate", + GTK_SIGNAL_FUNC(set_sound_driver), + (gpointer)OPT_SOUND_BEEP); + gtk_widget_show(opt); + gtk_menu_append(GTK_MENU(menu), opt); + if ((sound_options & OPT_SOUND_BEEP) && !driver) driver = i; + i++; + #ifdef ESD_SOUND opt = gtk_menu_item_new_with_label("ESD"); gtk_signal_connect(GTK_OBJECT(opt), "activate", @@ -1600,15 +1609,6 @@ if ((sound_options & OPT_SOUND_NORMAL) && !driver) driver = i; i++; - opt = gtk_menu_item_new_with_label("Console Beep"); - gtk_signal_connect(GTK_OBJECT(opt), "activate", - GTK_SIGNAL_FUNC(set_sound_driver), - (gpointer)OPT_SOUND_BEEP); - gtk_widget_show(opt); - gtk_menu_append(GTK_MENU(menu), opt); - if ((sound_options & OPT_SOUND_BEEP) && !driver) driver = i; - i++; - gtk_option_menu_set_menu(GTK_OPTION_MENU(omenu), menu); gtk_option_menu_set_history(GTK_OPTION_MENU(omenu), driver - 1); gtk_box_pack_start(GTK_BOX(hbox), omenu, FALSE, FALSE, 5);