Show
Ignore:
Timestamp:
08/29/07 23:14:55 (15 months ago)
Author:
roidelapluie
Message:

Remove some spaces.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/roster_window.py

    r8603 r8604  
    11981198                                        win.redraw_tab(ctrl) 
    11991199                                gajim.contacts.remove_contact(account, contact) 
    1200                 elif len(contact_instances) > 1 and contact.resource != '': 
    1201                         name += '/' + contact.resource 
     1200                elif len(contact_instances) > 1 and contact.resource != '': 
     1201                        name += '/' + contact.resource 
    12021202                self.remove_contact(contact, account) 
    12031203                self.add_contact_to_roster(contact.jid, account) 
    12041204                # print status in chat window and update status/GPG image 
    1205                 if gajim.interface.msg_win_mgr.has_window(contact.jid, account): 
    1206                         win = gajim.interface.msg_win_mgr.get_window(contact.jid, account) 
    1207                         ctrl = win.get_control(contact.jid, account) 
    1208                         ctrl.contact = gajim.contacts.get_contact_with_highest_priority( 
    1209                                 account, contact.jid) 
    1210                         ctrl.update_ui() 
    1211                         win.redraw_tab(ctrl) 
    1212   
    1213                         uf_show = helpers.get_uf_show(show) 
    1214                         if status: 
    1215                                 ctrl.print_conversation(_('%s is now %s (%s)') % (name, uf_show, 
    1216                                         status), 'status') 
    1217                         else: # No status message 
    1218                                 ctrl.print_conversation(_('%s is now %s') % (name, uf_show), 
    1219                                         'status') 
     1205                if gajim.interface.msg_win_mgr.has_window(contact.jid, account): 
     1206                        win = gajim.interface.msg_win_mgr.get_window(contact.jid, account) 
     1207                        ctrl = win.get_control(contact.jid, account) 
     1208                        ctrl.contact = gajim.contacts.get_contact_with_highest_priority( 
     1209                                account, contact.jid) 
     1210                        ctrl.update_ui() 
     1211                        win.redraw_tab(ctrl) 
     1212 
     1213                        uf_show = helpers.get_uf_show(show) 
     1214                        if status: 
     1215                                ctrl.print_conversation(_('%s is now %s (%s)') % (name, uf_show, 
     1216                                        status), 'status') 
     1217                        else: # No status message 
     1218                                ctrl.print_conversation(_('%s is now %s') % (name, uf_show), 
     1219                                        'status') 
    12201220 
    12211221