comparison src/gtkconv.c @ 4382:76223649765b

[gaim-migrate @ 4648] Raise window on events works again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 22 Jan 2003 01:26:46 +0000
parents 194507c83612
children f7a84034f97f
comparison
equal deleted inserted replaced
4381:af485b4bb8c1 4382:76223649765b
3567 { 3567 {
3568 struct gaim_gtk_conversation *gtkconv; 3568 struct gaim_gtk_conversation *gtkconv;
3569 3569
3570 gtkconv = GAIM_GTK_CONVERSATION(conv); 3570 gtkconv = GAIM_GTK_CONVERSATION(conv);
3571 3571
3572 /* Play a sound, if specified in prefs. */
3572 if (gtkconv->make_sound) { 3573 if (gtkconv->make_sound) {
3573 if (flags & WFLAG_RECV) { 3574 if (flags & WFLAG_RECV) {
3574 if (gtkconv->u.im->a_virgin && 3575 if (gtkconv->u.im->a_virgin &&
3575 (sound_options & OPT_SOUND_FIRST_RCV)) { 3576 (sound_options & OPT_SOUND_FIRST_RCV)) {
3576 3577
3595 { 3596 {
3596 struct gaim_gtk_conversation *gtkconv; 3597 struct gaim_gtk_conversation *gtkconv;
3597 3598
3598 gtkconv = GAIM_GTK_CONVERSATION(conv); 3599 gtkconv = GAIM_GTK_CONVERSATION(conv);
3599 3600
3601 /* Play a sound, if specified in prefs. */
3600 if (gtkconv->make_sound) { 3602 if (gtkconv->make_sound) {
3601 if (!(flags & WFLAG_WHISPER) && (flags & WFLAG_SEND)) 3603 if (!(flags & WFLAG_WHISPER) && (flags & WFLAG_SEND))
3602 play_sound(SND_CHAT_YOU_SAY); 3604 play_sound(SND_CHAT_YOU_SAY);
3603 else if (flags & WFLAG_RECV) { 3605 else if (flags & WFLAG_RECV) {
3604 if ((flags & WFLAG_NICK) && (sound_options & OPT_SOUND_CHAT_NICK)) 3606 if ((flags & WFLAG_NICK) && (sound_options & OPT_SOUND_CHAT_NICK))