--- gnome-panel-2.18.0/applets/clock/calendar-client.c (revision 10319)
+++ gnome-panel-2.18.0/applets/clock/calendar-client.c (working copy)
@@ -614,8 +614,13 @@
get_ical_percent_complete (icalcomponent *ical)
{
icalproperty *prop;
+ icalproperty_status status;
int percent_complete;
+ status = icalcomponent_get_status (ical);
+ if (status == ICAL_STATUS_COMPLETED)
+ return 100;
+
prop = icalcomponent_get_first_property (ical, ICAL_COMPLETED_PROPERTY);
if (prop)
return 100;