diff options
author | Milan Crha <mcrha@redhat.com> | 2011-12-07 20:22:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-12-07 20:22:58 +0800 |
commit | 16efd93e3d26759add0f30d4e33eb21094b29aa8 (patch) | |
tree | 8d22fbafd9b0765a83126eabbb579a5fb723d5f2 /modules/calendar | |
parent | fc359659ae7d14b337eca2f69197f3ff3d688373 (diff) | |
download | gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar.gz gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar.bz2 gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar.lz gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar.xz gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.tar.zst gsoc2013-evolution-16efd93e3d26759add0f30d4e33eb21094b29aa8.zip |
Bug #577322 - Rename of a system ESource doesn't persist
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 4 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-backend.c | 2 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-backend.c | 2 |
3 files changed, 4 insertions, 4 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); } diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c index c31689fec9..c83c0fdfd9 100644 --- a/modules/calendar/e-memo-shell-backend.c +++ b/modules/calendar/e-memo-shell-backend.c @@ -153,7 +153,7 @@ memo_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); } diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c index deca594c08..84500e4427 100644 --- a/modules/calendar/e-task-shell-backend.c +++ b/modules/calendar/e-task-shell-backend.c @@ -153,7 +153,7 @@ task_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); } |