Updating branch refs/heads/master
         to d8f9634a484289340aad99f7dd2a674d7894bd79 (commit)
       from 25aad2c8d17591bea3d7a65998da990c38b958d7 (commit)

commit d8f9634a484289340aad99f7dd2a674d7894bd79
Author: Juha Kautto <j...@xfce.org>
Date:   Sun Nov 22 16:37:38 2009 +0200

    Make Orage to understand time type EXDATEs
    
    This small change now only gives warning when EXDATE has time part also.
    Orage still can not create or update such times, but it can now understand
    and process such times. Those can appear after import or in foreign files.
    Orage still only creates and updates only dates as EXDATE.

 src/ical-code.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/ical-code.c b/src/ical-code.c
index 31fd0ca..cf99642 100644
--- a/src/ical-code.c
+++ b/src/ical-code.c
@@ -1162,11 +1162,10 @@ static void appt_add_exception_internal(xfical_appt 
*appt
         wtime = icaltime_from_string(excp->time); 
         if (strcmp(excp->type, "EXDATE") == 0) {
         /* Orage only supports date as EXDATE */
-            if (icaltime_is_date(wtime))
-                icalcomponent_add_property(icmp
-                        , icalproperty_new_exdate(wtime));
-            else /* error */
-                orage_message(110, "appt_add_exceptions_internal: EXDATE/RDATE 
not date (%s) (%d), ignoring", excp->time, strlen(excp->time));
+            if (!icaltime_is_date(wtime))
+                orage_message(110, "appt_add_exceptions_internal: EXDATE not 
date (%s) (%d). Orage can handle dates only.", excp->time, strlen(excp->time));
+            icalcomponent_add_property(icmp
+                    , icalproperty_new_exdate(wtime));
         }
         else if (strcmp(excp->type, "RDATE") == 0) {
             /* Orage does not support rdate periods */
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to