summaryrefslogtreecommitdiffstats
path: root/kmail/headerstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/headerstyle.cpp')
-rw-r--r--kmail/headerstyle.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/kmail/headerstyle.cpp b/kmail/headerstyle.cpp
index 7d0d6fc4b..9e654d68c 100644
--- a/kmail/headerstyle.cpp
+++ b/kmail/headerstyle.cpp
@@ -623,7 +623,7 @@ namespace KMail {
int zone = origDate.Zone();
// kdDebug() << "FancyHeaderStyle::format() zone offset (in minutes): " << zone << endl;
- // copyed fro mimelib -- code to determine local timezone
+ // copyed from mimelib -- code to determine local timezone
time_t t_now = time((time_t*) 0);
#if defined(HAVE_GMTIME_R)
struct tm utc;
@@ -642,7 +642,6 @@ namespace KMail {
t_utc = 24 * t_utc + utc.tm_hour;
t_utc = 60 * t_utc + utc.tm_min;
t_utc = 60 * t_utc + utc.tm_sec;
- int lzone = (int) (t_local - t_utc) / 60;
// kdDebug() << "FancyHeaderStyle::format() local zone offset (in minutes): " << lzone << endl;
@@ -705,7 +704,7 @@ namespace KMail {
// kdDebug() << "FancyHeaderStyle::format() current time: " << currTime << " (" << timeofday << ")" << endl;
timeHTML.append( TQString(
- "<div style=\""
+ "<div id=\"sendersCurrentTime\" style=\""
"border:1px solid %1;"
"color:%2;"
"background-image:%3;"
@@ -714,8 +713,8 @@ namespace KMail {
"text-align:center;"
"font-size:12px;"
"padding:2px;"
- "width:140px;"
- "height:50px;"
+ "width:150px;"
+ "height:45px;"
"margin: 0px 0px 3px 0px;"
"\" class=\"curtime\">%4<br />%5<br />%6</div>"
)