Changeset 9761
- Timestamp:
- 06/05/08 17:09:17 (6 months ago)
- Location:
- trunk/src
- Files:
-
- 6 modified
-
chat_control.py (modified) (1 diff)
-
gajim.py (modified) (5 diffs)
-
groupchat_control.py (modified) (1 diff)
-
message_window.py (modified) (1 diff)
-
roster_window.py (modified) (3 diffs)
-
systray.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chat_control.py
r9747 r9761 2040 2040 gajim.events.remove_events(self.account, self.get_full_jid(), 2041 2041 types = ['printed_' + self.type_id, self.type_id]) 2042 # remove all register handlers on wi gets, created by self.xml2042 # remove all register handlers on widgets, created by self.xml 2043 2043 # to prevent circular references among objects 2044 2044 for i in self.handlers.keys(): -
trunk/src/gajim.py
r9755 r9761 2523 2523 if w: 2524 2524 w.set_active_tab(ctrl) 2525 w.window.present()2526 2525 w.window.window.focus() 2527 2526 # Using isinstance here because we want to catch all derived types … … 2765 2764 gc_ctrl = self.msg_win_mgr.get_gc_control(room_jid, account) 2766 2765 win = gc_ctrl.parent_win 2767 win.window.present()2768 2766 win.set_active_tab(gc_ctrl) 2769 2767 dialogs.ErrorDialog(_('You are already in group chat %s') % room_jid) … … 2793 2791 gc_control = self.msg_win_mgr.get_gc_control(room_jid, account) 2794 2792 gc_control.parent_win.set_active_tab(gc_control) 2795 gc_control.parent_win.window.present()2796 2793 gajim.connections[account].join_gc(nick, room_jid, password) 2797 2794 if password: … … 2893 2890 mw = session.control.parent_win 2894 2891 mw.set_active_tab(session.control) 2895 mw.window.present()2896 2892 # For JEP-0172 2897 2893 if added_to_roster: … … 2931 2927 for ctrl in win.get_controls(fjid, account): 2932 2928 ctrl.got_disconnected() 2933 2934 win.window.present()2935 2929 2936 2930 ################################################################################ -
trunk/src/groupchat_control.py
r9760 r9761 2077 2077 2078 2078 win.set_active_tab(ctrl) 2079 win.window.present()2080 2079 2081 2080 return ctrl -
trunk/src/message_window.py
r9757 r9761 449 449 ctrl_page = self.notebook.page_num(ctrl.widget) 450 450 self.notebook.set_current_page(ctrl_page) 451 self.window.present() 451 452 452 453 def remove_tab(self, ctrl, method, reason = None, force = False): -
trunk/src/roster_window.py
r9743 r9761 1157 1157 win = gajim.interface.msg_win_mgr.get_window(room_jid, account) 1158 1158 ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid, account) 1159 win.window.present()1160 1159 win.set_active_tab(ctrl) 1161 1160 dialogs.ErrorDialog(_('You are already in group chat %s') % room_jid) … … 1186 1185 gc_control = gc_win.get_gc_control(room_jid, account) 1187 1186 gc_win.set_active_tab(gc_control) 1188 gc_win.window.present()1189 1187 gajim.connections[account].join_gc(nick, room_jid, password) 1190 1188 if password: … … 2814 2812 mw.new_tab(ctrl) 2815 2813 mw.set_active_tab(ctrl) 2816 mw.window.present()2817 2814 del gajim.interface.minimized_controls[account][jid] 2818 2815 -
trunk/src/systray.py
r9501 r9761 110 110 gajim.interface.msg_win_mgr.get_window(jid, account).set_active_tab( 111 111 jid, account) 112 gajim.interface.msg_win_mgr.get_window(jid, account).window.present()113 112 elif contact: 114 113 gajim.interface.new_chat(contact, account)
