[PATCHES] Serious TnyFolderStore api change and new functionality



This is a multi-part message in MIME format.
Attached are a bunch of patches that add three major pieces of API:

1) adds a 'refresh' parameter to tny_camel_folder_store_get_folders to allow getting the folders as they are currently cached without refreshing from the server 2) adds tny_camel_folder_store_refresh_async to cause a refresh from the server 3) adds 'appeared' folders to TnyCamelFolderStoreChange. A folder store observer will get the currently existing folders as an 'appeared' change when the cache is first refreshed or when the observer is first attached to a folderstore.

A good review would be appreciated as it is a large change!

Also attached is a small change that uses dispose for unreffing object for TnyCamelFolder and TnyCamelStoreAccount, rather than unreffing in finalize, which is bad gobject style and can result in unbreakable ref-count loops.

Thanks,
Rob






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