diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-30 08:56:04 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-30 08:56:04 +0800 |
commit | 86b0250cb7e97b183638154b6bd530b1e95950fc (patch) | |
tree | 6f294cb58abf6e4fe9be8320b3bdf63a4c4fe319 /shell | |
parent | 0dae22ec2f2ee3fc63c08075cf220d461ce8b5a3 (diff) | |
download | gsoc2013-evolution-86b0250cb7e97b183638154b6bd530b1e95950fc.tar.gz gsoc2013-evolution-86b0250cb7e97b183638154b6bd530b1e95950fc.tar.zst gsoc2013-evolution-86b0250cb7e97b183638154b6bd530b1e95950fc.zip |
Fix wrong order of the key/value parameters in the call to
`g_hash_table_insert()' when initializing the EStorageSetView. This
was causing addition of new folders to a registered storage at runtime
to fail.
svn path=/trunk/; revision=3273
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 6f0e3a89fb..9fbd1f18b4 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-05-30 Ettore Perazzoli <ettore@helixcode.com> + + * e-storage-set-view.c (e_storage_set_view_construct): Ooops. Fix + inverted key/value pair in the call to `g_hash_table_insert()'. + 2000-05-28 Dan Winship <danw@helixcode.com> * main.c (main): Remove extra free of evolution_directory. diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 95559e184a..7aa6f65e5a 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -782,7 +782,7 @@ e_storage_set_view_construct (EStorageSetView *storage_set_view, path = g_strconcat ("/", name, NULL); g_hash_table_insert (priv->ctree_node_to_path, parent, path); - g_hash_table_insert (priv->path_to_ctree_node, parent, path); + g_hash_table_insert (priv->path_to_ctree_node, path, parent); insert_folders (storage_set_view, parent, storage, "/", 1); } |