Re: Patch: Delay refresh on any get folders operation detected.
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Re: Patch: Delay refresh on any get folders operation detected.
- Date: Thu, 25 Jun 2009 18:30:16 +0200
José Dapena Paz escribiu:
> Hi,
>
> This patch is a small improvement on the behavior of the delayed
> refresh mode of TnyGtkFolderListStore. The change is adding more points
> where we delay the refresh.
Dape regarding this subpatch:
@@ -355,7 +372,7 @@ recurse_folders_async_cb (TnyFolderStore *store,
* memory peak will happen, few data must be transmitted
* in case we're online. Which is perfect! */
- if (folder)
+ if (folder && !(self->flags &
TNY_GTK_FOLDER_LIST_STORE_FLAG_DELAYED_REFRESH))
tny_folder_poke_status (TNY_FOLDER (folder));
why are you removing the poke status if delayed refresh flag is used?
This way we won't get the right value for the unread/total amount of
messages.
Br
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]