aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-client/cal-client.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 19767e969b..4ab2888359 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2003-04-04 JP Rosevear <jpr@ximian.com>
+ * cal-client/cal-client.c (get_default_uri): guard against empty
+ uri as well
+
+2003-04-04 JP Rosevear <jpr@ximian.com>
+
Fixes #40722
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy):
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 9921899636..2c7223a5ea 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -975,7 +975,7 @@ get_default_uri (gboolean tasks)
uri = e_config_listener_get_string (db, "/apps/evolution/shell/default_folders/calendar_uri");
g_object_unref (G_OBJECT (db));
- if (!uri)
+ if (!uri || *uri == '\0')
uri = get_fall_back_uri (tasks);
else
uri = cal_util_expand_uri (uri, tasks);