summaryrefslogtreecommitdiffabout
path: root/libkcal
Side-by-side diff
Diffstat (limited to 'libkcal') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/kincidenceformatter.cpp9
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 ) {