Re: Sound problem



On Tue, 12 Sep 2000 14:03:09 Jacob Ilsų Christensen wrote:
> Hi.
> 
> I have a problem getting balsa to play a sound file when
> receiving new mail. It does play a sound when starting up.
> The two files balsa.soundlist and email.soundlist are in
> /etc/sound/events
> Anyone having any similar problems?
> 
After looking through the code, I think I have found the problem.
In src/balsa-index.c the sound for new mail is triggered in the
function mailbox_message_new_cb. But this function is not called
when new mail is received! I added:

  if (total > 0)
    gnome_triggers_do ("", "program", "email", "newmail", NULL);

in the function mutt_fetchPopMail in libmutt/pop.c
I am quite sure, that this is not how it should be done, but I do
not have the time to look through all the code, and at least 
it works for now :)

Best regards,
Jacob Ilsų.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]