------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=119481
michael.larouche kdemail net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From michael.larouche kdemail net 2006-02-26 20:16
-------
SVN commit 513861 by mlarouche:
BUG: 119481
Rewrote ChatMessagePart::clear() to actually works correctly.
Fix blank view in Kopete Email Window plugin.
M +5 -3 chatmessagepart.cpp
--- branches/kopete/0.12/kopete/kopete/chatwindow/chatmessagepart.cpp
#513860:513861
@ -589,10 +589,12 @
void ChatMessagePart::clear()
{
- DOM::HTMLElement body = htmlDocument().body();
- while ( body.hasChildNodes() )
- body.removeChild( body.childNodes().item(
body.childNodes().length() - 1 ) );
+ // writeTemplate actually reset the HTML chat session from the
beginning.
+ writeTemplate();
+ // Reset consecutive messages
+ d->latestContact = 0;
+ // Remove all stored messages.
d->allMessages.clear();
}
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel