diff options
author | Marius Mauch <genone@gentoo.org> | 2004-10-17 23:10:46 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2004-10-17 23:10:46 +0000 |
commit | fca307611f826fee7a9abf5ef6a7848a8a345363 (patch) | |
tree | 411b51ebd9712e90a4a0f715b5d24db6fad8ed4d /mail-client/sylpheed-claws-vcalendar/files | |
parent | Fixed broken Manifest. (Manifest recommit) (diff) | |
download | gentoo-2-fca307611f826fee7a9abf5ef6a7848a8a345363.tar.gz gentoo-2-fca307611f826fee7a9abf5ef6a7848a8a345363.tar.bz2 gentoo-2-fca307611f826fee7a9abf5ef6a7848a8a345363.zip |
sylpheed-claws plugin splitup
Diffstat (limited to 'mail-client/sylpheed-claws-vcalendar/files')
-rw-r--r-- | mail-client/sylpheed-claws-vcalendar/files/digest-sylpheed-claws-vcalendar-0.4 | 1 | ||||
-rw-r--r-- | mail-client/sylpheed-claws-vcalendar/files/vcalendar-0.4-ical.patch | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/mail-client/sylpheed-claws-vcalendar/files/digest-sylpheed-claws-vcalendar-0.4 b/mail-client/sylpheed-claws-vcalendar/files/digest-sylpheed-claws-vcalendar-0.4 new file mode 100644 index 000000000000..0749ea13fb6e --- /dev/null +++ b/mail-client/sylpheed-claws-vcalendar/files/digest-sylpheed-claws-vcalendar-0.4 @@ -0,0 +1 @@ +MD5 53b4cd6e33ac89658a9a832d9d82d5d4 vcalendar-0.4.tar.gz 326637 diff --git a/mail-client/sylpheed-claws-vcalendar/files/vcalendar-0.4-ical.patch b/mail-client/sylpheed-claws-vcalendar/files/vcalendar-0.4-ical.patch new file mode 100644 index 000000000000..254d0881572d --- /dev/null +++ b/mail-client/sylpheed-claws-vcalendar/files/vcalendar-0.4-ical.patch @@ -0,0 +1,57 @@ +--- src/vcal_manager.c.org 2004-09-22 15:08:20.000000000 +0200 ++++ src/vcal_manager.c 2004-10-07 21:40:33.522688052 +0200 +@@ -326,8 +326,8 @@ + icalproperty_new_description(event->description), + icalproperty_new_summary(event->summary), + icalproperty_new_sequence(event->sequence + 1), +- icalproperty_new_class("PUBLIC"), +- icalproperty_new_transp("OPAQUE"), ++ icalproperty_new_class(ICAL_CLASS_PUBLIC), ++ icalproperty_new_transp(ICAL_TRANSP_OPAQUE), + orgprop, + 0 + ); +@@ -440,11 +440,15 @@ + event->uid = g_strdup(uid?uid:""); + event->organizer = g_strdup(organizer?organizer:""); + +- if (dtend) +- event->end = g_strdup(icaltime_as_ctime(icaltime_as_local(icaltime_from_string(dtend)))); ++ if (dtend) { ++ time_t tmp = icaltime_as_timet(icaltime_as_local(icaltime_from_string(dtend))); ++ event->end = g_strdup(ctime(&tmp)); ++ } + +- if (dtstart) +- event->start = g_strdup(icaltime_as_ctime(icaltime_as_local(icaltime_from_string(dtstart)))); ++ if (dtstart) { ++ time_t tmp = icaltime_as_timet(icaltime_as_local(icaltime_from_string(dtstart))); ++ event->start = g_strdup(ctime(&tmp)); ++ } + + event->dtstart = g_strdup(dtstart?dtstart:""); + event->dtend = g_strdup(dtend?dtend:""); +--- src/vcalendar.c.org 2004-09-22 15:08:20.000000000 +0200 ++++ src/vcalendar.c 2004-10-07 21:38:29.549822328 +0200 +@@ -720,8 +720,8 @@ + iprop = vcalviewer_get_property(vcalviewer, ICAL_DTSTART_PROPERTY); + if (iprop) { + struct icaltimetype itt = icaltime_as_local(icalproperty_get_dtstart(iprop)); +- gtk_label_set_text(GTK_LABEL(vcalviewer->start), +- icaltime_as_ctime(itt)); ++ time_t tmp = icaltime_as_timet(itt); ++ gtk_label_set_text(GTK_LABEL(vcalviewer->start), ctime(&tmp)); + icalproperty_free(iprop); + } else + gtk_label_set_text(GTK_LABEL(vcalviewer->start), "-"); +@@ -729,8 +729,8 @@ + iprop = vcalviewer_get_property(vcalviewer, ICAL_DTEND_PROPERTY); + if (iprop) { + struct icaltimetype itt = icaltime_as_local(icalproperty_get_dtstart(iprop)); +- gtk_label_set_text(GTK_LABEL(vcalviewer->end), +- icaltime_as_ctime(itt)); ++ time_t tmp = icaltime_as_timet(itt); ++ gtk_label_set_text(GTK_LABEL(vcalviewer->end), ctime(&tmp)); + icalproperty_free(iprop); + } else + gtk_label_set_text(GTK_LABEL(vcalviewer->end), "-"); |