author | zautrix <zautrix> | 2005-07-26 21:02:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-26 21:02:59 (UTC) |
commit | cdd39d566d5d054edf26bd142d6be05cb35451dd (patch) (unidiff) | |
tree | 33f1b061fc033b690fa8f40e171e1ebe00ee692f | |
parent | c7b8804b49e463d42f0bd5aec4b638187190417a (diff) | |
download | kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.zip kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.tar.gz kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.tar.bz2 |
journal fix
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 3 | ||||
-rw-r--r-- | libkcal/icalformatimpl.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 52590d8..21cee6e 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -2,24 +2,27 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
2 | 2 | ||
3 | ********** VERSION 2.1.17 ************ | 3 | ********** VERSION 2.1.17 ************ |
4 | 4 | ||
5 | KO/Pi: | 5 | KO/Pi: |
6 | Added option to display times in What's Next View on two lines. | 6 | Added option to display times in What's Next View on two lines. |
7 | (Useful for display on the Zaurus with 240x320 screen) | 7 | (Useful for display on the Zaurus with 240x320 screen) |
8 | Removed "Allday" for allday events of one day duration in What's Next View. | 8 | Removed "Allday" for allday events of one day duration in What's Next View. |
9 | Added date range for allday events of more than one day duration in What's Next View. | 9 | Added date range for allday events of more than one day duration in What's Next View. |
10 | Fixed two problems in the data importing from Outlook: | 10 | Fixed two problems in the data importing from Outlook: |
11 | Fixed the duplicated import if the summary, location or description had whitespaces at the end. | 11 | Fixed the duplicated import if the summary, location or description had whitespaces at the end. |
12 | Fixed a problem importing certain recurrence rules. | 12 | Fixed a problem importing certain recurrence rules. |
13 | 13 | ||
14 | A journal in an ics file may have no dtStart value (as files from KNotes, which stores its notes in an ics journal file). | ||
15 | If now a journal has no dtStart value the dtStart value is set to the created value of the journal when loading the file. That makes it possible to view and edit "notes" from KNotes. Simply add another Resource in KO/Pi which is a copy of the ics file from KNotes. You will find the "notes" in KO/Pi as a journal entry on the date you created it. | ||
16 | |||
14 | ********** VERSION 2.1.16 ************ | 17 | ********** VERSION 2.1.16 ************ |
15 | 18 | ||
16 | Fixed a problem with the menu bar in KO/Pi and using the "Menu" hardware key on the Zaurus. | 19 | Fixed a problem with the menu bar in KO/Pi and using the "Menu" hardware key on the Zaurus. |
17 | Added columns for datetime in todo view: Last modified, created and last modified subtodo | 20 | Added columns for datetime in todo view: Last modified, created and last modified subtodo |
18 | Fixed a bug in agenda view displaying recurring multiday events which are longer than two days. | 21 | Fixed a bug in agenda view displaying recurring multiday events which are longer than two days. |
19 | Made conflict detection up to 4 times faster. | 22 | Made conflict detection up to 4 times faster. |
20 | 23 | ||
21 | ********** VERSION 2.1.15 ************ | 24 | ********** VERSION 2.1.15 ************ |
22 | 25 | ||
23 | Fixed two layout problems on the Z: | 26 | Fixed two layout problems on the Z: |
24 | Made the with of the newly added buttons on the Quick-Todo smaller. | 27 | Made the with of the newly added buttons on the Quick-Todo smaller. |
25 | Made listweek layout in 2 columns on the Z760 in portait screen and full menubar visible. | 28 | Made listweek layout in 2 columns on the Z760 in portait screen and full menubar visible. |
diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp index 3e28714..4794bc9 100644 --- a/libkcal/icalformatimpl.cpp +++ b/libkcal/icalformatimpl.cpp | |||
@@ -1014,24 +1014,27 @@ FreeBusy *ICalFormatImpl::readFreeBusy(icalcomponent *vfreebusy) | |||
1014 | p = icalcomponent_get_next_property(vfreebusy,ICAL_ANY_PROPERTY); | 1014 | p = icalcomponent_get_next_property(vfreebusy,ICAL_ANY_PROPERTY); |
1015 | } | 1015 | } |
1016 | 1016 | ||
1017 | return freebusy; | 1017 | return freebusy; |
1018 | } | 1018 | } |
1019 | 1019 | ||
1020 | Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) | 1020 | Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) |
1021 | { | 1021 | { |
1022 | Journal *journal = new Journal; | 1022 | Journal *journal = new Journal; |
1023 | 1023 | ||
1024 | readIncidence(vjournal,journal); | 1024 | readIncidence(vjournal,journal); |
1025 | 1025 | ||
1026 | if ( !journal->dtStart().isValid() && journal->created().isValid() ) { | ||
1027 | journal->setDtStart( journal->created() ); | ||
1028 | } | ||
1026 | return journal; | 1029 | return journal; |
1027 | } | 1030 | } |
1028 | 1031 | ||
1029 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) | 1032 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) |
1030 | { | 1033 | { |
1031 | icalparameter *p = 0; | 1034 | icalparameter *p = 0; |
1032 | 1035 | ||
1033 | QString email = QString::fromUtf8(icalproperty_get_attendee(attendee)); | 1036 | QString email = QString::fromUtf8(icalproperty_get_attendee(attendee)); |
1034 | 1037 | ||
1035 | QString name; | 1038 | QString name; |
1036 | QString uid = QString::null; | 1039 | QString uid = QString::null; |
1037 | p = icalproperty_get_first_parameter(attendee,ICAL_CN_PARAMETER); | 1040 | p = icalproperty_get_first_parameter(attendee,ICAL_CN_PARAMETER); |