diff src/prefs.c @ 4581:4b1e24835bbf

[gaim-migrate @ 4864] put NAS sound support back in, and re-wrote a lot of the libao stuff this should mostly put an end to people having to make a ~/.libao file committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 14 Feb 2003 20:57:32 +0000
parents 9df99116840a
children eddb870a3c4d
line wrap: on
line diff
--- a/src/prefs.c	Wed Feb 12 17:16:16 2003 +0000
+++ b/src/prefs.c	Fri Feb 14 20:57:32 2003 +0000
@@ -986,11 +986,16 @@
 #ifndef _WIN32
 	vbox = make_frame (ret, _("Sound Method"));
 	dd = gaim_dropdown(vbox, _("_Method"), &sound_options, OPT_SOUND_BEEP |
-		      OPT_SOUND_NORMAL |
-		      OPT_SOUND_CMD,
+		      OPT_SOUND_ESD | OPT_SOUND_ARTS | OPT_SOUND_NAS |
+			  OPT_SOUND_NORMAL | OPT_SOUND_CMD,
 		      _("Console beep"), OPT_SOUND_BEEP,
 #ifdef USE_AO
 		      _("Automatic"), OPT_SOUND_NORMAL,
+			  "ESD", OPT_SOUND_ESD,
+			  "Arts", OPT_SOUND_ARTS,
+#endif
+#ifdef USE_NAS_AUDIO
+			  "NAS", OPT_SOUND_NAS,
 #endif
 		      _("Command"), OPT_SOUND_CMD, NULL);
 	gtk_size_group_add_widget(sg, dd);
@@ -2300,6 +2305,7 @@
 			gtk_widget_set_sensitive(sndcmd, TRUE);
 		else
 			gtk_widget_set_sensitive(sndcmd, FALSE);
+		gaim_sound_change_output_method();
 	} else if (option == (int*)&im_options) { 
 		if (clear == (OPT_IM_SIDE_TAB | OPT_IM_BR_TAB))
 			gaim_gtkconv_update_tabs();