aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-12 00:41:31 +0800
committerDan Winship <danw@src.gnome.org>2001-05-12 00:41:31 +0800
commitdadbbd6f8f1d12e6d5fc290e46885cb6b09120b8 (patch)
treef60d1d00a4ad4aed0dc789ca6246668358fc4f62 /shell
parente6a4fcd9a248183751afd1bca0af676e4bc36089 (diff)
downloadgsoc2013-evolution-dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8.tar.gz
gsoc2013-evolution-dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8.tar.zst
gsoc2013-evolution-dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8.zip
Lots of people seem to have "broken" local storage hierarchies. So ignore
* 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. svn path=/trunk/; revision=9758
Diffstat (limited to 'shell')
-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;