Mercurial > pidgin
changeset 2581:3e9906e1e5f6
[gaim-migrate @ 2594]
beep before esd
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 23 Oct 2001 04:18:07 +0000 |
parents | 86eaeb064e82 |
children | 5efa8077107f |
files | src/prefs.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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);