aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-05 03:54:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-05 03:54:48 +0800
commit3e05c184063d7ed97a3a63f19de151fb5bb8396f (patch)
tree8666c0e06b30d6ce06e9613bd4913088e7e38fbd /shell/e-storage-set-view.c
parent1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2 (diff)
downloadgsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar.gz
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar.bz2
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar.lz
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar.xz
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.tar.zst
gsoc2013-evolution-3e05c184063d7ed97a3a63f19de151fb5bb8396f.zip
Add the root node to the hash. (e_storage_set_view_set_show_folders):
* 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. svn path=/trunk/; revision=12594
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c2
1 files changed, 2 insertions, 0 deletions
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