do not change the systrayicon to new_message when we send a message in GC window
This commit is contained in:
parent
32a809da5f
commit
cef48f8b1e
|
@ -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()
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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 :
|
||||
|
|
Loading…
Reference in New Issue