what about choosing directly colors with name ;)

This commit is contained in:
Vincent Hanquez 2004-03-29 11:24:18 +00:00
parent 140ec80b9b
commit 269c9902e0
1 changed files with 3 additions and 3 deletions

View File

@ -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):