Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv13214/src
Modified Files:
buddy_chat.c sound.c
Log Message:
Play sound when your name is said
Index: buddy_chat.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/buddy_chat.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- buddy_chat.c 16 Mar 2002 00:32:53 -0000 1.142
+++ buddy_chat.c 6 May 2002 16:47:27 -0000 1.143
@@ -721,7 +721,8 @@
g_free(str);
}
- if ((flag & WFLAG_RECV) && find_nick(b->gc, message))
+ if ((flag & WFLAG_RECV) && find_nick(b->gc, message)) {
+ play_sound(SND_CHAT_NICK);
flag |= WFLAG_NICK;
write_to_conv(b, message, flag, who, mtime, -1);
Index: sound.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/sound.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- sound.c 6 Apr 2002 02:32:16 -0000 1.54
+++ sound.c 6 May 2002 16:47:27 -0000 1.55
@@ -65,6 +65,7 @@
N_("Person leaves chat"), OPT_SOUND_CHAT_PART, BuddyLeave, sizeof(BuddyLeave),
N_("You talk in chat"), OPT_SOUND_CHAT_YOU_SAY, Send, sizeof(Send),
N_("Others talk in chat"), OPT_SOUND_CHAT_SAY, Receive, sizeof(Receive),
+ N_("Someone says your name in chat"), OPT_SOUND_CHAT_NICK, Receive, sizeof(Receive),
NULL, 0, RedAlert, sizeof(RedAlert)
};
|