[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete/chatwindow
From: Jason Keirstead <jason () keirstead ! org>
Date: 2005-02-08 16:22:28
Message-ID: 20050208162228.9D9B81D16F () office ! kde ! org
[Download RAW message or body]
CVS commit by brunes:
This fixes the bug for the majority case (normal message appending )
However, the bug will re-surface if
- You change chat style with open chat windows
- You use Adium style
This is because of the change where messages are now stored as XML only, we can not \
add the proper dir attribute to the style.
Possible fix would be to add a standard dir attribute onto the message XML and use it \
inside all the XSLTs, but I reallt hate doing these changes in every XSL.
CCMAIL: 52283
M +1 -1 chatmessagepart.cpp 1.21
--- kdenetwork/kopete/kopete/chatwindow/chatmessagepart.cpp #1.20:1.21
@@ -364,5 +364,5 @@ void ChatMessagePart::appendMessage( Kop
QString resultHTML = addNickLinks( d->xsltParser->transform( \
domMessage.toString() ) );
- QString direction = ( QApplication::reverseLayout() ? \
QString::fromLatin1("rtl") : QString::fromLatin1("ltr") ); + QString \
direction = ( message.plainBody().isRightToLeft() ? QString::fromLatin1("rtl") : \
QString::fromLatin1("ltr") );
DOM::HTMLElement newNode = document().createElement( \
QString::fromLatin1("span") );
newNode.setAttribute( QString::fromLatin1("dir"), direction );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic