diff src/conversation.c @ 3060:4f2f12bf4408

[gaim-migrate @ 3074] Code cleanups by Robert McQueen. Michael Golden replaced the multiple per-account signon windows with a single signon window showing the status of all your accounts committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 00:32:53 +0000
parents 2379e9bb2fea
children eb364675bbe4
line wrap: on
line diff
--- a/src/conversation.c	Fri Mar 15 20:09:14 2002 +0000
+++ b/src/conversation.c	Sat Mar 16 00:32:53 2002 +0000
@@ -1183,8 +1183,8 @@
 						write_to_conv(c, bigbuf, WFLAG_SEND, NULL, time(NULL), length);
 					else
 						write_to_conv(c, buffy, WFLAG_SEND, NULL, time(NULL), -1);
-					if (c->makesound && (sound_options & OPT_SOUND_SEND))
-						play_sound(SEND);
+					if (c->makesound)
+						play_sound(SND_SEND);
 					if (im_options & OPT_IM_POPDOWN)
 						gtk_widget_hide(c->window);
 					
@@ -1196,8 +1196,8 @@
 				err =serv_send_im(c->gc, c->name, buffy, -1, imflags);
 				if (err > 0) { 
 					write_to_conv(c, buf, WFLAG_SEND, NULL, time(NULL), -1);
-					if (c->makesound && (sound_options & OPT_SOUND_SEND))
-						play_sound(SEND);
+					if (c->makesound)
+						play_sound(SND_SEND);
 					if (im_options & OPT_IM_POPDOWN)
 						gtk_widget_hide(c->window);
 				}