aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-local-storage.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 3c4ff1f1ff..d459665e72 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-11 Dan Winship <danw@ximian.com>
+
+ * e-local-storage.c (load_folder): Lots of people seem to have
+ "broken" local storage hierarchies. So ignore errors (like the old
+ code did) and just print a warning.
+
2001-05-11 Chris Toshok <toshok@ximian.com>
* evolution-storage-set-view-factory.c
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index e843b8ddd6..361f2e2044 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -155,8 +155,10 @@ load_folder (const char *physical_path, const char *path, gpointer data)
EFolder *folder;
folder = e_local_folder_new_from_path (physical_path);
- if (folder == NULL)
- return FALSE;
+ if (folder == NULL) {
+ g_warning ("No folder metadata in %s... ignoring", physical_path);
+ return TRUE;
+ }
new_folder (local_storage, path, folder);
return TRUE;