aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-07-29 22:43:54 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-07-29 22:43:54 +0800
commit62442ef9505f5f3a00e214baa8bc70e41c606632 (patch)
tree4e3fedf20fc190127817e352e7d680585ef72920 /calendar
parenta30d50adb6b763fbb34f692c7f0d455363af8227 (diff)
downloadgsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar.gz
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar.bz2
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar.lz
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar.xz
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.tar.zst
gsoc2013-evolution-62442ef9505f5f3a00e214baa8bc70e41c606632.zip
Updated fix #326388.
svn path=/trunk/; revision=33885
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog2
-rw-r--r--calendar/gui/calendar-component.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4bf31bd4f2..48294a7fc8 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -3,7 +3,7 @@
** Fix for bug #326388
* gui/calendar-component.c: (ensure_sources):
- Always set 'delete=no' property for birthdays_source.
+ Set 'delete=no' property for birthdays_source if its not set.
2007-07-29 Srinivasa Ragavan <sragavan@novell.com>
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index ce1debd7fb..95292cd0a9 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -290,7 +290,9 @@ ensure_sources (CalendarComponent *component)
birthdays_source = e_source_new (_("Birthdays & Anniversaries"), "/");
e_source_group_add_source (contacts, birthdays_source, -1);
}
- e_source_set_property(birthdays_source, "delete", "no");
+
+ if (!e_source_get_property (birthdays_source, "delete"))
+ e_source_set_property(birthdays_source, "delete", "no");
if (!weather) {
/* Create the weather group */