Bug fix: Wrap all messages in quiet <c=black></c>

This commit is contained in:
Kiooeht 2011-06-19 05:57:24 -07:00
parent 35845db8e3
commit c13be58b49
3 changed files with 3 additions and 2 deletions

View file

@ -59,6 +59,7 @@ CHANGELOG
* Menu bar text colour correct when default system colour isn't black - Kiooeht [evacipatedBox]
* End all colour tags and restart them on split messages - Kiooeht [evacipatedBox]
* Chat input box right-click menus - Kiooeht [evacipatedBox]
* Don't overflow random colours into colourless messages - Kiooeht [evacipatedBox]
### 3.14.1
* Pesterchum 3.14 - illuminatedwax [ghostDunk]

View file

@ -337,7 +337,7 @@ class PesterText(QtGui.QTextEdit):
lexmsg[0:0] = [colorBegin("<c=%s>" % (color), color),
"%s: " % (initials)]
lexmsg.append(colorEnd("</c>"))
self.append(time + convertTags(lexmsg))
self.append("<span style=\"color:#000000\">" + time + convertTags(lexmsg) + "</span>")
if chum is me:
window.chatlog.log(parent.chum.handle, lexmsg)
else:

View file

@ -321,7 +321,7 @@ class MemoText(PesterText):
window.chatlog.log(parent.channel, memsg)
self.append(convertTags(memsg))
else:
self.append(makeSafe(convertTags(lexmsg)))
self.append("<span style=\"color:#000000\">" + makeSafe(convertTags(lexmsg)) + "</span>")
window.chatlog.log(parent.channel, lexmsg)
def changeTheme(self, theme):