diff options
author | Wang Xin <jedy.wang@sun.com> | 2007-01-08 16:53:06 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-01-08 16:53:06 +0800 |
commit | 90bdafb14b8ac843d54417be07f26c0ad2b65e06 (patch) | |
tree | 5620e00d6f633482f340bffb548fe8ad1f1b617f | |
parent | 748ead1aa51137e30c0e0bd18d888a6b53e1c217 (diff) | |
download | gsoc2013-evolution-90bdafb14b8ac843d54417be07f26c0ad2b65e06.tar.gz gsoc2013-evolution-90bdafb14b8ac843d54417be07f26c0ad2b65e06.tar.zst gsoc2013-evolution-90bdafb14b8ac843d54417be07f26c0ad2b65e06.zip |
Fixes #389966 Do not create the status property if its pointing to None.
2007-01-08 Wang Xin <jedy.wang@sun.com>
Fixes #389966
* gui/e-cal-model-tasks.c: (set_status):
Do not create the status property if its
pointing to None.
svn path=/trunk/; revision=33117
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d0de1012c2..f8a2b87ab9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,7 +1,13 @@ 2007-01-08 Wang Xin <jedy.wang@sun.com> + + Fixes #389966 + * gui/e-cal-model-tasks.c: (set_status): + Do not create the status property if its pointing to None. + +2007-01-08 Wang Xin <jedy.wang@sun.com> Fixes #389961 - * gui/e-cal-model.c:(e_cal_model_set_instance_times): + * gui/e-cal-model.c: (e_cal_model_set_instance_times): Check if the item is a event before processing the end time. 2006-12-04 Matthew Barnes <mbarnes@redhat.com> diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index 75cb23b175..863ab224f6 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -654,7 +654,7 @@ set_status (ECalModelComponent *comp_data, const char *value) /* an empty string is the same as 'None' */ if (!value[0] || !e_util_utf8_strcasecmp (value, _("None"))) - status = ICAL_STATUS_NONE; + return; else if (!e_util_utf8_strcasecmp (value, _("Not Started"))) status = ICAL_STATUS_NEEDSACTION; else if (!e_util_utf8_strcasecmp (value, _("In Progress"))) |