From dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 11 May 2001 16:41:31 +0000 Subject: 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 --- shell/ChangeLog | 6 ++++++ shell/e-local-storage.c | 6 ++++-- 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 + + * 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 * 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; -- cgit v1.2.3