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>2005-03-21 00:04:13 +0300
committerYann Leboulanger <asterix@lagaule.org>2005-03-21 00:04:13 +0300
commitcef48f8b1eb89bc2b668a2974b1a2f7fbdc12ea3 (patch)
tree0e42b93d44c44f39e73ee538204eaa32e2c6faa2
parent32a809da5fef399e1dfd88fce7a424e9dc6bdcdf (diff)
do not change the systrayicon to new_message when we send a message in GC window
-rw-r--r--plugins/gtkgui/chat.py1
-rw-r--r--plugins/gtkgui/gtkgui.py3
-rw-r--r--plugins/gtkgui/roster_window.py3
3 files changed, 1 insertions, 6 deletions
diff --git a/plugins/gtkgui/chat.py b/plugins/gtkgui/chat.py
index 816780b43..1a7bfbd6b 100644
--- a/plugins/gtkgui/chat.py
+++ b/plugins/gtkgui/chat.py
@@ -583,5 +583,6 @@ class Chat:
if ((jid != self.get_active_jid()) or (not self.window.is_active()) or \
(not end)) and kind == 'incoming':
self.nb_unread[jid] += 1
+ self.plugin.systray.add_jid(jid, self.account)
self.redraw_tab(jid)
self.show_title()
diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index da3586ccf..e285c1707 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -534,9 +534,6 @@ class plugin:
#message from someone
self.windows[account]['gc'][jid].print_conversation(array[1], jid, \
jids[1], array[2])
- if not self.windows[account]['gc'][jid].window.\
- get_property('is-active'):
- self.systray.add_jid(jid, account)
def handle_event_gc_subject(self, account, array):
#('GC_SUBJECT', account, (jid, subject))
diff --git a/plugins/gtkgui/roster_window.py b/plugins/gtkgui/roster_window.py
index 340be327e..0f53edd3a 100644
--- a/plugins/gtkgui/roster_window.py
+++ b/plugins/gtkgui/roster_window.py
@@ -889,9 +889,6 @@ class roster_window:
self.tree.set_cursor(path)
self.plugin.windows[account]['chats'][jid].print_conversation(msg, \
jid, tim = tim)
- if not self.plugin.windows[account]['chats'][jid].window.\
- get_property('is-active'):
- self.plugin.systray.add_jid(jid, account)
def on_preferences_menuitem_activate(self, widget):
"""When preferences is selected :