Changeset 9615

Show
Ignore:
Timestamp:
05/11/08 03:48:10 (3 months ago)
Author:
bct
Message:

fixed use of get_control

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/pep.py

    r9585 r9615  
    254254                        contact.contact_name = nick 
    255255                        gajim.interface.roster.draw_contact(user, name) 
    256                         ctrl = gajim.interface.msg_win_mgr.get_control(user, name) 
    257                         if ctrl: 
     256                        for ctrl in gajim.interface.msg_win_mgr.get_chat_controls(user, name): 
    258257                                ctrl.update_ui() 
    259                                 win = gajim.interface.msg_win_mgr.get_window(user, name) 
    260                                 win.redraw_tab(ctrl) 
    261                                 win.show_title() 
     258                                ctrl.parent_win.redraw_tab(ctrl) 
     259                                ctrl.parent_win.show_title() 
    262260        elif retract: 
    263261                contact.contact_name = ''