[evolution-patches] Calendar bug 52271
- From: Gary Ekker <gekker novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Calendar bug 52271
- Date: Thu, 15 Apr 2004 13:30:34 -0600
See the ChangeLog diff in attached patch.
-Gary
? 52271.patch
? 56628.patch
? fb.patch
? fb2.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2253
diff -u -r1.2253 ChangeLog
--- ChangeLog 15 Apr 2004 14:44:20 -0000 1.2253
+++ ChangeLog 15 Apr 2004 19:11:26 -0000
@@ -1,5 +1,11 @@
2004-04-15 Gary Ekker <gekker novell com>
+ Fixes #52271
+
+ * gui/e-cal-model-tasks.c: (set_percent): shouldn't call
+ ensure_task_not_complete here, it removes the percent property that
+ we just set.
+
* gui/calendar-component.h: move the calendar publishing initialization
from createControls to main.c
Index: gui/e-cal-model-tasks.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model-tasks.c,v
retrieving revision 1.16
diff -u -r1.16 e-cal-model-tasks.c
--- gui/e-cal-model-tasks.c 9 Feb 2004 05:55:29 -0000 1.16
+++ gui/e-cal-model-tasks.c 15 Apr 2004 19:11:26 -0000
@@ -652,7 +652,12 @@
if (percent == 100)
ensure_task_complete (comp_data, -1);
else {
- ensure_task_not_complete (comp_data);
+ prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_COMPLETED_PROPERTY);
+ if (prop) {
+ icalcomponent_remove_property (comp_data->icalcomp, prop);
+ icalproperty_free (prop);
+ }
+
if (percent > 0)
set_status (comp_data, _("In Progress"));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]