From cba0ac17d3d505805be6aa4b4fea6f63473a1e00 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 15 Jun 2005 16:20:26 +0000 Subject: fixi --- (limited to 'libkcal/kincidenceformatter.cpp') diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp index d1ace4f..9359fad 100644 --- a/libkcal/kincidenceformatter.cpp +++ b/libkcal/kincidenceformatter.cpp @@ -52,6 +52,7 @@ void KIncidenceFormatter::setEvent(Event *event) bool shortDate = true; if ( mode == 0 ) { addTag("h3",deTag(event->summary())); + formatReadOnly(event); } else { if ( mColorMode == 1 ) { @@ -66,6 +67,7 @@ void KIncidenceFormatter::setEvent(Event *event) } else { addTag("h2",i18n( "Remote: " ) +deTag(event->summary())); } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); if ( mColorMode ) mText += ""; @@ -143,7 +145,6 @@ void KIncidenceFormatter::setEvent(Event *event) // mText.append(event->secrecyStr()+"
"); formatCategories(event); - formatReadOnly(event); formatAttendees(event); if ( mCreated ) { @@ -178,8 +179,10 @@ void KIncidenceFormatter::setTodo(Todo *event ) int mode = 0; mCurrentIncidence = event; bool shortDate = true; - if (mode == 0 ) + if (mode == 0 ) { addTag("h3",deTag(event->summary())); + formatReadOnly(event); + } else { if ( mColorMode == 1 ) { mText +=""; @@ -192,6 +195,7 @@ void KIncidenceFormatter::setTodo(Todo *event ) } else { addTag("h2",i18n( "Remote: " ) +deTag(event->summary())); } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); if ( mColorMode ) mText += ""; @@ -247,7 +251,6 @@ void KIncidenceFormatter::setTodo(Todo *event ) addTag("p",i18n("Access: ") +event->secrecyStr() ); formatCategories(event); - formatReadOnly(event); formatAttendees(event); if ( mCreated ) { #ifdef DESKTOP_VERSION -- cgit v0.9.0.2