aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/e-storage-set-view.c2
2 files changed, 11 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f01a848c2c..0bd2fc98c0 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,12 @@
+2001-09-04 Ettore Perazzoli <ettore@ximian.com>
+
+ [Patch from Richard Boulton <richard@tartarus.org> to fix #8497,
+ "Warning when shutting view: RootNode not found".]
+
+ * e-storage-set-view.c (e_storage_set_view_construct): Add the
+ root node to the hash.
+ (e_storage_set_view_set_show_folders): Likewise.
+
2001-08-30 Peter Williams <peterw@ximian.com>
* e-local-storage.c (async_xfer_folder_complete): Remove the folder from
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 82e08d2ed3..67d46a8fef 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1959,6 +1959,7 @@ e_storage_set_view_construct (EStorageSetView *storage_set_view,
priv->root_node = e_tree_memory_node_insert (E_TREE_MEMORY(priv->etree_model), NULL, -1,
g_strdup (ROOT_NODE_NAME));
+ add_node_to_hash (storage_set_view, ROOT_NODE_NAME, priv->root_node);
extras = e_table_extras_new ();
cell = e_cell_text_new (NULL, GTK_JUSTIFY_LEFT);
@@ -2084,6 +2085,7 @@ e_storage_set_view_set_show_folders (EStorageSetView *storage_set_view,
/* now re-add the root node */
priv->root_node = e_tree_memory_node_insert (E_TREE_MEMORY(priv->etree_model), NULL, -1,
g_strdup (ROOT_NODE_NAME));
+ add_node_to_hash (storage_set_view, ROOT_NODE_NAME, priv->root_node);
/* then reinsert the storages after setting the "show_folders"
flag. insert_storages will call insert_folders if