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 /calendar/gui | |
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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"))) |