aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-29 05:06:34 +0800
committerDan Winship <danw@src.gnome.org>2001-05-29 05:06:34 +0800
commitd591587d8f36e9cf4a1abb16f14f2feee8e507fb (patch)
tree29701fb59fea3cb34bdf43c30e9654de7e6b5efb
parent6aa20b927bdb40e27228a007545bc8b0b8a209d8 (diff)
downloadgsoc2013-evolution-d591587d8f36e9cf4a1abb16f14f2feee8e507fb.tar.gz
gsoc2013-evolution-d591587d8f36e9cf4a1abb16f14f2feee8e507fb.tar.zst
gsoc2013-evolution-d591587d8f36e9cf4a1abb16f14f2feee8e507fb.zip
Call e_tree_node_set_expanded on the storage_set_view, not the storage_set
* e-storage-set-view.c (new_storage_cb): Call e_tree_node_set_expanded on the storage_set_view, not the storage_set (which is not an ETree). svn path=/trunk/; revision=10033
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-storage-set-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index ff745719d2..68440fa2b5 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-28 Dan Winship <danw@ximian.com>
+
+ * e-storage-set-view.c (new_storage_cb): Call
+ e_tree_node_set_expanded on the storage_set_view, not the
+ storage_set (which is not an ETree).
+
2001-05-27 Dan Winship <danw@ximian.com>
* evolution-shell-component-utils.c: New file.
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 769ae43922..6c08a0bda5 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1501,7 +1501,7 @@ new_storage_cb (EStorageSet *storage_set,
-1, path);
e_tree_memory_sort_node(E_TREE_MEMORY(priv->etree_model), priv->root_node, storage_sort_callback, storage_set_view);
- e_tree_node_set_expanded (E_TREE(storage_set), node, TRUE);
+ e_tree_node_set_expanded (E_TREE(storage_set_view), node, TRUE);
if (! add_node_to_hash (storage_set_view, path, node)) {
e_tree_memory_node_remove (E_TREE_MEMORY(priv->etree_model), node);