openbsd-ports/x11/gnome/panel/patches/patch-applets_clock_calendar-client_c
ajacoutot 69f73d724c gnome-panel 2.28.0.
It compiles, let's ship it... seriously, several things are not behaving
correctly right now, but as agreed with jasper@ let's import it and work on
it in tree.
2009-10-11 21:26:03 +00:00

16 lines
655 B
Plaintext

$OpenBSD: patch-applets_clock_calendar-client_c,v 1.2 2009/10/11 21:26:03 ajacoutot Exp $
Pass UTC to evolution to prevent incorrect times from entering the database.
--- applets/clock/calendar-client.c.orig Tue Aug 11 20:51:51 2009
+++ applets/clock/calendar-client.c Sun Oct 11 19:57:31 2009
@@ -2123,7 +2123,7 @@ calendar_client_set_task_completed (CalendarClient *cl
{
struct icaltimetype completed_time;
- completed_time = icaltime_current_time_with_zone (client->priv->zone);
+ completed_time = icaltime_current_time_with_zone (icaltimezone_get_utc_timezone());
if (!prop)
{
icalcomponent_add_property (ical,