Patch that adds the folder store tree model adds an observer of the root folder stores



Hi,

I think I everything is said in the subject :)

Br
Index: tny-gtk-folder-store-tree-model.c
===================================================================
--- tny-gtk-folder-store-tree-model.c	(revision 2098)
+++ tny-gtk-folder-store-tree-model.c	(working copy)
@@ -228,6 +228,10 @@
 
 	recurse_folders_sync (self, TNY_FOLDER_STORE (folder_store), &name_iter);
 
+	/* Add an observer for the root folder store */
+	tny_folder_store_add_observer (folder_store, TNY_FOLDER_STORE_OBSERVER (self));
+	self->store_observables = g_list_prepend (self->store_observables, folder_store);
+
 	g_object_unref (G_OBJECT (folders));
 
 	return;


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