diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-10 05:43:46 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-10 05:43:46 +0800 |
commit | 3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73 (patch) | |
tree | dd0ff4f52e31599ba8190d85d0f1ab2932784bf3 /shell/e-storage-set.c | |
parent | 93ce4979954074c5f7d6061958e523efb7bfb356 (diff) | |
download | gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar.gz gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar.bz2 gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar.lz gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar.xz gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.tar.zst gsoc2013-evolution-3d7fc19a83c4c3835e2c5c6821b45f4a27dcae73.zip |
Use the name of the storage or the folder in the storage set view,
instead of just the last segment of the path, so that we can support
display names correctly.
svn path=/trunk/; revision=5296
Diffstat (limited to 'shell/e-storage-set.c')
-rw-r--r-- | shell/e-storage-set.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c index 7b18d93c1c..405c3e2c61 100644 --- a/shell/e-storage-set.c +++ b/shell/e-storage-set.c @@ -452,6 +452,8 @@ e_storage_set_get_folder (EStorageSet *storage_set, g_return_val_if_fail (g_path_is_absolute (path), NULL); storage = get_storage_for_path (storage_set, path, &subpath); + if (storage == NULL) + return NULL; return e_storage_get_folder (storage, subpath); } |