[Xfce4-commits] <orage:master> 4.8.2.2 Fixed serious bug in archiving, where several events could be lost

Juha Kautto noreply at xfce.org
Mon Oct 3 14:16:01 CEST 2011


Updating branch refs/heads/master
         to 382ca583b8f699d5bd2d9f8e07a84aa09f844ffe (commit)
       from 5c40268cd89256fe90a47293af32199ac9405bc8 (commit)

commit 382ca583b8f699d5bd2d9f8e07a84aa09f844ffe
Author: Juha Kautto <juha at xfce.org>
Date:   Mon Oct 3 15:10:53 2011 +0300

    4.8.2.2 Fixed serious bug in archiving, where several events could be lost
    
    The archive revert code only read VEVENT type evenst from archive so it was
    possible that VJOURNAL and VTODO events were lost during unarchive.

 configure.in.in    |    2 +-
 src/ical-archive.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index e755c44..5c665d9 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -9,7 +9,7 @@ dnl Written for Xfce by Juha Kautto <juha at xfce.org>
 dnl
 
 dnl Version information
-m4_define([orage_version], [4.8.2.1-git])
+m4_define([orage_version], [4.8.2.2-git])
 
 m4_define([gtk_minimum_version], [2.10.0])
 m4_define([xfce_minimum_version], [4.6.0])
diff --git a/src/ical-archive.c b/src/ical-archive.c
index 01617cc..ec266c3 100644
--- a/src/ical-archive.c
+++ b/src/ical-archive.c
@@ -463,9 +463,9 @@ gboolean xfical_unarchive(void)
         xfical_file_close(FALSE);
         return(FALSE);
     }
-    for (c = icalcomponent_get_first_component(ic_aical, ICAL_VEVENT_COMPONENT);
+    for (c = icalcomponent_get_first_component(ic_aical, ICAL_ANY_COMPONENT);
          c != 0;
-         c = icalcomponent_get_next_component(ic_aical, ICAL_VEVENT_COMPONENT)) {
+         c = icalcomponent_get_next_component(ic_aical, ICAL_ANY_COMPONENT)) {
     /* Add to the base file */
         d = icalcomponent_new_clone(c);
         icalcomponent_add_component(ic_ical, d);


More information about the Xfce4-commits mailing list