--===============0175031453== Content-Type: multipart/signed; boundary="nextPart14303153.UWxFsnl6lu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart14303153.UWxFsnl6lu Content-Type: multipart/mixed; boundary="Boundary-01=_Jc/dClb2uDyPG1R" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_Jc/dClb2uDyPG1R Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 03 May 2005 23:12, Mario Teijeiro Otero wrote: > > Attached is an example of the all-green fonts. > > The "Besides KDE itself.." line should be in black. > > I can reproduce it, with the same message. Some times works right. > I see to this. Attached go the fix patch. When the svn | cvs goes to write mode, i'll comm= it=20 it. Regards --Boundary-01=_Jc/dClb2uDyPG1R Content-Type: text/x-diff; charset="iso-8859-15"; name="fix_quotelevelfont.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fix_quotelevelfont.diff" Index: objecttreeparser.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdepim/kmail/objecttreeparser.cpp,v retrieving revision 1.133 diff -u -p -r1.133 objecttreeparser.cpp =2D-- objecttreeparser.cpp 28 Apr 2005 20:18:43 -0000 1.133 +++ objecttreeparser.cpp 3 May 2005 22:08:08 -0000 @@ -2497,10 +2497,10 @@ QString ObjectTreeParser::quotedHTML( co =20 bool actHidden =3D false; QString textExpand; =2D // LevelQuote: =2D // 0 don't hide anything =2D // >0 hide the level 1, 2,3,... and so on =2D if ( mReader->mLevelQuote >=3D 0 && mReader->mLevelQuote <=3D ( actQ= uoteLevel ) ) + + // This quoted line needs be hiden + if (GlobalSettings::showExpandQuotesMark() && mReader->mLevelQuote >= =3D 0=20 + && mReader->mLevelQuote <=3D ( actQuoteLevel ) ) actHidden =3D true; =20 if ( actQuoteLevel !=3D currQuoteLevel ) { @@ -2517,17 +2517,8 @@ QString ObjectTreeParser::quotedHTML( co { if ( GlobalSettings::showExpandQuotesMark() )=20 { =2D if ( !actHidden )=20 + if ( actHidden ) { =2D htmlStr +=3D "
" ; =2D htmlStr +=3D QString( "" =2D "3D\"\"" ) =2D .arg(actQuoteLevel) =2D .arg( mCollapseIcon); =2D htmlStr +=3D "
"; =2D htmlStr +=3D quoteFontTag[actQuoteLevel%3]; =2D } =2D else //only show the QuoteMark when is the first line of the level = hidden if ( !curHidden )=20 { @@ -2540,6 +2531,15 @@ QString ObjectTreeParser::quotedHTML( co htmlStr +=3D "
"; htmlStr +=3D quoteEnd; } + }else { + htmlStr +=3D "
" ; + htmlStr +=3D QString( "" + "3D\"\"" ) + .arg(actQuoteLevel) + .arg( mCollapseIcon); + htmlStr +=3D "
"; + htmlStr +=3D quoteFontTag[actQuoteLevel%3]; + } } else=20 htmlStr +=3D quoteFontTag[actQuoteLevel%3]; } --Boundary-01=_Jc/dClb2uDyPG1R-- --nextPart14303153.UWxFsnl6lu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCd/cNMKsc+XeZcdwRAlzwAKCOuJPXXHIvB48jee17O14vh3y9FgCcCE7F a01hGrhsgSe18siftzR7IsM= =cLjj -----END PGP SIGNATURE----- --nextPart14303153.UWxFsnl6lu-- --===============0175031453== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel --===============0175031453==--