Re: Some fixes



> The folder store used to create the change object was also wrong.

-       change = tny_folder_store_change_new (TNY_FOLDER_STORE (self));
+       change = tny_folder_store_change_new (into);

Are you sure that it should be "into" as the store being changed?
Because it's the parent store that is being changed, not the created or
deleted folder.


On Wed, 2007-03-14 at 09:27 +0100, Sergio Villar Senin wrote:
> Hi,
> 
> playing with folder copies I noticed that tinymail was not notifying the
> UI about the deleted folder, I added the needed coded to the
> TnyCamelFolder. The folder store used to create the change object was
> also wrong.
> 
> I changed also a little bit the deleter method of
> TnyGtkFolderStoreTreeModel, this method was the responsible of finding
> and deleting the removed folder. The problem was that it was always
> returning FALSE, so even if you already deleted the folder the
> gtk_tree_model_foreach would try to continue, but it wouldn't be able to
> because the iter returned by gtk_tree_store_remove is invalid.
> 
> 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]