From 269c9902e048e6f1c3bfc9075bb60c80e95c4b3a Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Mon, 29 Mar 2004 11:24:18 +0000 Subject: [PATCH] what about choosing directly colors with name ;) --- plugins/gtkgui/gtkgui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index dd2235d40..dc7f10351 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -1042,17 +1042,17 @@ class message_Window: self.tagIn = buffer.create_tag("incoming") color = self.plugin.config['inmsgcolor'] if not color: - color = '#ff0000' #red + color = 'red' self.tagIn.set_property("foreground", color) self.tagOut = buffer.create_tag("outgoing") color = self.plugin.config['outmsgcolor'] if not color: - color = '#0000ff' #blue + color = 'blue' self.tagOut.set_property("foreground", color) self.tagStatus = buffer.create_tag("status") color = self.plugin.config['statusmsgcolor'] if not color: - color = '#00ff00' #green + color = 'green' self.tagStatus.set_property("foreground", color) #print queued messages if plugin.queues[account].has_key(user.jid):