author | zautrix <zautrix> | 2005-06-15 16:20:26 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-15 16:20:26 (UTC) |
commit | cba0ac17d3d505805be6aa4b4fea6f63473a1e00 (patch) (side-by-side diff) | |
tree | b7eceb0b3181cbb2c14b753692f135bc0cd5dd0e /libkcal | |
parent | 2a788f41ebeb7d8edab7010fb1a00799cb9e036d (diff) | |
download | kdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.zip kdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.tar.gz kdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.tar.bz2 |
fixi
-rw-r--r-- | libkcal/kincidenceformatter.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp index d1ace4f..9359fad 100644 --- a/libkcal/kincidenceformatter.cpp +++ b/libkcal/kincidenceformatter.cpp @@ -53,4 +53,5 @@ void KIncidenceFormatter::setEvent(Event *event) if ( mode == 0 ) { addTag("h3",deTag(event->summary())); + formatReadOnly(event); } else { @@ -67,4 +68,5 @@ void KIncidenceFormatter::setEvent(Event *event) addTag("h2",i18n( "Remote: " ) +deTag(event->summary())); } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); if ( mColorMode ) @@ -144,5 +146,4 @@ void KIncidenceFormatter::setEvent(Event *event) formatCategories(event); - formatReadOnly(event); formatAttendees(event); @@ -179,6 +180,8 @@ void KIncidenceFormatter::setTodo(Todo *event ) mCurrentIncidence = event; bool shortDate = true; - if (mode == 0 ) + if (mode == 0 ) { addTag("h3",deTag(event->summary())); + formatReadOnly(event); + } else { if ( mColorMode == 1 ) { @@ -193,4 +196,5 @@ void KIncidenceFormatter::setTodo(Todo *event ) addTag("h2",i18n( "Remote: " ) +deTag(event->summary())); } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); if ( mColorMode ) @@ -248,5 +252,4 @@ void KIncidenceFormatter::setTodo(Todo *event ) formatCategories(event); - formatReadOnly(event); formatAttendees(event); if ( mCreated ) { |