aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index eecccbfd87..dded99cdf0 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-03 Dan Winship <danw@ximian.com>
+
+ * e-storage.c (get_path_for_physical_uri_foreach): Deal with
+ folders with no physical_uri.
+
2002-04-02 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (e_storage_set_view_set_show_checkboxes):
diff --git a/shell/e-storage.c b/shell/e-storage.c
index 7dbe977352..4f7fc7d134 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -544,6 +544,8 @@ get_path_for_physical_uri_foreach (EFolderTree *folder_tree,
return;
physical_uri = e_folder_get_physical_uri (e_folder);
+ if (physical_uri == NULL)
+ return;
if (strcmp (foreach_data->physical_uri, physical_uri) == 0)
foreach_data->retval = g_strdup (path);