[evolution-patches] Possible fix for #322016



Here is a possible fix for bug #322016, to provoke discussion.

Note I haven't compiled this or tried it - because it is
not clear that this is the correct way to fix the problem.

The basic problem is that up->new is true if mails are
added to the folder, regardless of their unread status. The up->unread will give a count of unread mails, so adding
this to the conditional expressions will help.

However, the behaviour would still be wrong if a user moved
a mail from one folder to another, where the other folder
had unread messages - it would trigger the notifications.

Fundamentally the only way I can see to truely fix these
is for the notifications to be sent after a 'fetch mail'
operation, i.e. when brand new mail truely arrives into
Evolution.

Karl


-----------------------------------------
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

Attachment: 322061_t1.patch
Description: Binary data



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