Changeset 9978
- Timestamp:
- 07/21/08 23:44:40 (4 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
gajim.py (modified) (4 diffs)
-
roster_window.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gajim.py
r9972 r9978 711 711 # Update existing iter 712 712 self.roster.draw_contact(ji, account) 713 self.roster.draw_group(_('Transports'), account)714 713 if new_show > 1 and ji in gajim.transport_avatar[account]: 715 714 # transport just signed in. request avatars … … 2108 2107 # add contact to roster ("Not In The Roster") if he is not 2109 2108 self.roster.add_to_not_in_the_roster(account, jid) 2110 self.roster.draw_contact(jid, account) 2109 else: 2110 self.roster.draw_contact(jid, account) 2111 2111 2112 2112 # Select the contact in roster, it's visible because it has events. … … 2125 2125 if jid in self.minimized_controls[account]: 2126 2126 self.roster.on_groupchat_maximized(None, jid, account) 2127 2128 if not ctrl:2127 return 2128 else: 2129 2129 ctrl = self.msg_win_mgr.get_gc_control(jid, account) 2130 2130 … … 3135 3135 3136 3136 if gajim.config.get('soundplayer') == '': 3137 print 'first'3138 3137 # only on first time Gajim starts 3139 3138 commands = ('aplay', 'play', 'esdplay', 'artsplay') -
trunk/src/roster_window.py
r9961 r9978 760 760 if contact.is_groupchat(): 761 761 if jid in gajim.interface.minimized_controls[account]: 762 gajim.interface.minimized_controls[account][jid]762 del gajim.interface.minimized_controls[account][jid] 763 763 self.remove_contact(jid, account, force=True, backend=True) 764 764 return True … … 2721 2721 return 2722 2722 ctrl = gajim.interface.minimized_controls[account][jid] 2723 mw = gajim.interface.msg_win_mgr.get_window(ctrl.contact.jid, 2724 ctrl.account) 2723 mw = gajim.interface.msg_win_mgr.get_window(jid, account) 2725 2724 if not mw: 2726 2725 mw = gajim.interface.msg_win_mgr.create_window(ctrl.contact, … … 2729 2728 mw.new_tab(ctrl) 2730 2729 mw.set_active_tab(ctrl) 2731 2730 mw.window.window.focus() 2732 2731 self.remove_groupchat(jid, account) 2733 2732
