aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index a7b25b473a..8176a45f0a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-10-25 Ettore Perazzoli <ettore@ximian.com>
+ * e-storage-set-view.c (etree_icon_at): Don't display an icon for
+ storages that have subfolders.
+
+2001-10-25 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-importer.c: #include "e-util/e-gtk-utils.h".
* e-shell-folder-creation-dialog.c
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 9b7365e796..5c57608db9 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1356,8 +1356,14 @@ etree_icon_at (ETreeModel *etree,
if (depth == 1) {
EStorage *storage;
const char *storage_type;
+ GList *subfolder_paths;
storage = e_storage_set_get_storage (storage_set, path + 1);
+ subfolder_paths = e_storage_get_subfolder_paths (storage, "/");
+ if (subfolder_paths != NULL) {
+ e_free_string_list (subfolder_paths);
+ return NULL;
+ }
folder_type_registry = e_storage_set_get_folder_type_registry (storage_set);
storage_type = e_storage_get_toplevel_node_type (storage);