aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-shell-backend.c')
-rw-r--r--modules/calendar/e-cal-shell-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index af1ca215fd..74bc62daa8 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -169,7 +169,7 @@ cal_shell_backend_ensure_sources (EShellBackend *shell_backend)
g_slist_foreach (selected, (GFunc) g_free, NULL);
g_slist_free (selected);
g_free (primary);
- } else {
+ } else if (!e_source_get_property (personal, "name-changed")) {
/* Force the source name to the current locale. */
e_source_set_name (personal, name);
}
@@ -215,7 +215,7 @@ cal_shell_backend_ensure_sources (EShellBackend *shell_backend)
/* This is now a borrowed reference. */
birthdays = source;
- } else {
+ } else if (!e_source_get_property (birthdays, "name-changed")) {
/* Force the source name to the current locale. */
e_source_set_name (birthdays, name);
}