Re: Patch: fix the progress information when refreshing an imap folder



Hello Sergio

2008/11/20 Sergio Villar Senin <svillar igalia com>:
> Martin Bonnin escribiu:
>> Hello,
>>
>>   Attached a small patch that remove some unwanted progress event
>> while refreshing an imap folder.
>>
>> Changelog:
>>       adding camel_operation_mute/unmute() and use it to filter the progress
>>       events. This prevents to send bad progress when refreshing an IMAP folder
>
> Why do we want to do this? Applications can filter themselves the
> information they got, you have a code and a message that identifies the
> kind of status information we get. I don't see the point to add this
> restriction to tinymail.

Actually, for the tny_folder_refresh_async() method, each time the
status code is TNY_FOLDER_STATUS_CODE_REFRESH. And the progress I get
is something like :

235/18056
684/18056
1289/18056
1220/1450
1875/18056
2150/18056
...

So I do not see how to filter this "1450". I can of course make a "low
pass" filter that checks the last 3 out of last 4 progress but I would
rather expect tinymail to send me consistent progress information.


-- 
Martin

>
> Br
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
>


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