Show pictures of people in the addressbook since we hit it anyway trying

to figure out online status. Cute.

svn path=/trunk/kdepim/; revision=360315
wilder-work
Till Adam 22 years ago
parent e8ead80a9b
commit 9dc6047e22
  1. 2
      csshelper.cpp
  2. 2
      headerstrategy.cpp
  3. 5
      headerstyle.cpp

@ -595,7 +595,7 @@ namespace KMail {
" border:1px solid black;\n"
// FIXME: InfoBackground crashes KHTML
//" background-color:InfoBackground;\n"
" background-color:yellow;\n"
" background-color:%5;\n"
"}\n\n"
"div.senderstatus{\n"

@ -60,7 +60,7 @@ namespace KMail {
static const char * richHeaders[] = {
"subject", "date", "from", "cc", "bcc", "to",
"organization", "organisation", "reply-to", "status" /*, "statuspic" */
"organization", "organisation", "reply-to", /* "status" ,*/ "statuspic"
};
static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders;

@ -436,10 +436,13 @@ namespace KMail {
}
else
userHTML = QString( "<div class=\"senderpic\">"
"<a href=\"im:%1\">%2<div class=\"senderstatus\"><span name=\"presence-%2\">%3</span></div></a>"
"<a href=\"im:%1\">%2<div class=\"senderstatus\">"
"<span name=\"presence-%3\">%4</span></div></a>"
"</div>" ).arg( kabcUid )
.arg( userHTML )
.arg( kabcUid )
.arg( presence );
kdDebug() << endl << userHTML << endl;
}
}
}

Loading…
Cancel
Save