changeset c134e560b7d3 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=c134e560b7d3
description: fix minimized groupchat disappearing in roster. Fixes #6826
diffstat:
src/roster_window.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r fa56b48a71dd -r c134e560b7d3 src/roster_window.py
--- a/src/roster_window.py Wed May 04 14:03:22 2011 +0200
+++ b/src/roster_window.py Wed May 04 19:50:05 2011 +0200
@@ -2499,12 +2499,13 @@
else:
return
- contact = gajim.contacts.get_contact_with_highest_priority(account,
- obj.room_jid)
- if contact:
- contact.show = obj.show
- self.draw_contact(obj.room_jid, account)
- self.draw_group(_('Groupchats'), account)
+ if obj.nick == gc_ctrl.nick:
+ contact = gajim.contacts.get_contact_with_highest_priority(account,
+ obj.room_jid)
+ if contact:
+ contact.show = obj.show
+ self.draw_contact(obj.room_jid, account)
+ self.draw_group(_('Groupchats'), account)
def _nec_roster_received(self, obj):
if obj.received_from_server:
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits