diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-12 00:41:31 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-12 00:41:31 +0800 |
commit | dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8 (patch) | |
tree | f60d1d00a4ad4aed0dc789ca6246668358fc4f62 /shell/e-local-storage.c | |
parent | e6a4fcd9a248183751afd1bca0af676e4bc36089 (diff) | |
download | gsoc2013-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/e-local-storage.c')
-rw-r--r-- | shell/e-local-storage.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |