Re: Folder creation does not update folder list



Approved

On Wed, 2007-07-11 at 18:12 +0200, Armin Burgmeier wrote:
> When creating a (sub)folder with tinymail, a subsequent call to
> tny_folder_store_get_folders does not include the newly-created folder
> (in libtinymail-camel). I attached a patch that calls
> camel_store_get_folder_info() again after folder creation.
> 
> Probably a better solution would not have to query the server, but I am
> unsure how to achieve that. The CamelFolderInfo returned from
> camel_store_create_folder does not seem to be linked with the infos
> cached by TnyCamelStoreAccount and/or TnyCamelFolder.
> 
> Thanks,
> Armin
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







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