Show
Ignore:
Timestamp:
07/23/08 01:22:49 (4 months ago)
Author:
js
Message:

Coding style.

Files:
1 modified

Legend:

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

    r9987 r9994  
    249249                        gajim.nicks[name] = nick 
    250250                if retract: 
    251                         gajim.nicks[name] = gajim.config.get_per('accounts', name, 'name') 
     251                        gajim.nicks[name] = gajim.config.get_per('accounts', 
     252                                name, 'name') 
    252253 
    253254        (user, resource) = gajim.get_room_and_nick_from_fjid(jid) 
     
    258259                        gajim.interface.roster.draw_contact(user, name) 
    259260 
    260                         ctrl = gajim.interface.msg_win_mgr.get_control(user, name) 
     261                        ctrl = gajim.interface.msg_win_mgr.get_control(user, 
     262                                name) 
    261263                        if ctrl: 
    262264                                ctrl.update_ui() 
     
    291293                i.addData(message) 
    292294 
    293         gajim.connections[account].send_pb_publish('', xmpp.NS_ACTIVITY, item, '0') 
    294  
    295 def user_send_tune(account, artist = '', title = '', source = '', track = 0,length = 0, items = None): 
     295        gajim.connections[account].send_pb_publish('', xmpp.NS_ACTIVITY, 
     296                item, '0') 
     297 
     298def user_send_tune(account, artist = '', title = '', source = '', track = 0, 
     299length = 0, items = None): 
    296300        if not (gajim.config.get_per('accounts', account, 'publish_tune') and \ 
    297301        gajim.connections[account].pep_supported):