Mercurial > pidgin
diff src/buddy.c @ 1694:bea407767ac1
[gaim-migrate @ 1704]
Sounds on buddy pounce. This may need a better AU file, im not sure yet.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Mon, 09 Apr 2001 08:33:09 +0000 |
| parents | 6ccd49e6f24c |
| children | 644056e095f1 |
line wrap: on
line diff
--- a/src/buddy.c Sun Apr 08 20:20:56 2001 +0000 +++ b/src/buddy.c Mon Apr 09 08:33:09 2001 +0000 @@ -1482,6 +1482,13 @@ gtk_timeout_add(100, (GtkFunction)clean_pid, NULL); } } + if (b->options & OPT_POUNCE_SOUND) + { + if(strlen(b->sound)) + play_file(b->sound); //play given sound + else + play_sound(POUNCE_DEFAULT); //play default sound + } if (!(b->options & OPT_POUNCE_SAVE)) rem_bp(NULL, b);
