Mercurial > pidgin
comparison src/gtkpounce.c @ 6444:601c2a52d74a
[gaim-migrate @ 6953]
Some buddy pounce fixes from Kevin Stange. He says, "GAIM_TYPED = typing
stopped event, GAIM_TYPING = typing started event (before it was GAIM_TYPED
& GAIM_TYPING both were typing started). this also makes pounce sounds work
(pounce file string error) and the start-typing event is now maintained
when the pounce file is read on startup. that last one was another mistake
with a string value in the pounces.xml file"
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 13 Aug 2003 06:05:03 +0000 |
parents | 8f94cce8faa5 |
children | 42fdf16f1dad |
comparison
equal
deleted
inserted
replaced
6443:9e87b873df72 | 6444:601c2a52d74a |
---|---|
893 | 893 |
894 if (gaim_pounce_action_is_enabled(pounce, "play-sound")) { | 894 if (gaim_pounce_action_is_enabled(pounce, "play-sound")) { |
895 const char *sound; | 895 const char *sound; |
896 | 896 |
897 sound = gaim_pounce_action_get_attribute(pounce, "play-sound", | 897 sound = gaim_pounce_action_get_attribute(pounce, "play-sound", |
898 "sound"); | 898 "filename"); |
899 | 899 |
900 if (sound != NULL) | 900 if (sound != NULL) |
901 gaim_sound_play_file(sound); | 901 gaim_sound_play_file(sound); |
902 else | 902 else |
903 gaim_sound_play_event(GAIM_SOUND_POUNCE_DEFAULT); | 903 gaim_sound_play_event(GAIM_SOUND_POUNCE_DEFAULT); |