changeset 123:34766e0cf970

wix: chat: date is now printed in grey
author Goffi <goffi@goffi.org>
date Thu, 08 Jul 2010 18:29:44 +0800
parents 29998cd0ed8d
children 961e0898271f
files frontends/wix/chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/wix/chat.py	Thu Jul 08 18:26:30 2010 +0800
+++ b/frontends/wix/chat.py	Thu Jul 08 18:29:44 2010 +0800
@@ -215,7 +215,7 @@
         _font_bold = wx.Font(self.font["points"], self.font["family"], wx.NORMAL, wx.BOLD)
         _font_normal = wx.Font(self.font["points"], self.font["family"], wx.NORMAL, wx.NORMAL)
         _font_italic = wx.Font(self.font["points"], self.font["family"], wx.ITALIC if mymess else wx.NORMAL, wx.NORMAL)
-        self.chatWindow.SetDefaultStyle(wx.TextAttr("BLACK", font=_font_normal))
+        self.chatWindow.SetDefaultStyle(wx.TextAttr("GREY", font=_font_normal))
         msg_time = time.localtime(timestamp or None)
         time_format = "%c" if msg_time < self.day_change else "%H:%M" #if the message was sent before today, we print the full date
         self.chatWindow.AppendText("[%s]" % time.strftime(time_format, msg_time ))