Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2004-05-10 18:50:30 +0400
committerYann Leboulanger <asterix@lagaule.org>2004-05-10 18:50:30 +0400
commitea6b541bb79a82c5492b7023b0a58dba518ea60c (patch)
tree0e16a88dde3f26435a9f7185dbd16f5065236ce8 /plugins
parent133c635c83c8b815b062aef17e2026944c1b1bf6 (diff)
variables must be accessible because when we change preferences these variables are changed
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkgui/gtkgui.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index e0d318250..785f8909d 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -1083,21 +1083,21 @@ class message_Window:
self.xml.signal_connect('on_history_clicked', self.on_history)
self.xml.signal_connect('on_msg_key_press_event', \
self.on_msg_key_press_event)
- tagIn = buffer.create_tag("incoming")
+ self.tagIn = buffer.create_tag("incoming")
color = self.plugin.config['inmsgcolor']
if not color:
color = 'red'
- tagIn.set_property("foreground", color)
- tagOut = buffer.create_tag("outgoing")
+ self.tagIn.set_property("foreground", color)
+ self.tagOut = buffer.create_tag("outgoing")
color = self.plugin.config['outmsgcolor']
if not color:
color = 'blue'
- tagOut.set_property("foreground", color)
- tagStatus = buffer.create_tag("status")
+ self.tagOut.set_property("foreground", color)
+ self.tagStatus = buffer.create_tag("status")
color = self.plugin.config['statusmsgcolor']
if not color:
color = 'green'
- tagStatus.set_property("foreground", color)
+ self.tagStatus.set_property("foreground", color)
#print queued messages
if plugin.queues[account].has_key(user.jid):
self.read_queue(plugin.queues[account][user.jid])