These patches look good, Thanks :)

Sadly tho, I am not at my computer to commit them (or test)... If
someone with cvs access would be inclined todo that I would certainly
appreciate it.

Thanks
dh



On Sun, 2008-03-02 at 17:04 +0100, Peter van de Werken wrote:
> Two patches for the mail module.
> 
> The first one is a small optimisation in the _mail_mdir_get_files
> function.  Since "ecore_file_ls" already excludes "." and ".." there's
> no need to loop over the entire list.
> 
> The second one fixes the mail counting of maildir boxes.
> For getting the total number of mails we need to count the mails in both
> "new" and "cur" (not just "cur").  So for keeping track of the new/total
> number two monitors are needed.
> Since these directory monitors only trigger when there's an actual
> change, we need do need to fill the num_new and num_total when creating
> the mdir mailbox.  Otherwise it doesn't show the number of new/total
> mails until something happens with the mailbox.
> 
> regards,
> Peter van de Werken
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ enlightenment-devel mailing 
> list enlightenment-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to