Changeset 9074

Show
Ignore:
Timestamp:
11/29/07 22:06:39 (12 months ago)
Author:
steve-e
Message:

Remove duplicated function.
Fix potential tb on usage of non-existing var.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/config.py

    r9062 r9074  
    12931293                self.window.destroy() 
    12941294 
    1295         def on_accounts_window_destroy(self, widget): 
    1296                 if gajim.interface.instances.has_key('accounts'): 
    1297                         del gajim.interface.instances['accounts'] 
    1298  
    12991295        def __init__(self): 
    13001296                self.xml = gtkgui_helpers.get_glade('accounts_window.glade') 
     
    17421738                        # ServiceCache object keep old property account 
    17431739                        if hasattr(gajim.connections[old_name], 'services_cache'): 
    1744                                 gajim.connections[self.account].services_cache.account = new_name 
     1740                                gajim.connections[old_name].services_cache.account = new_name 
    17451741                        del gajim.interface.instances[old_name] 
    17461742                        del gajim.interface.minimized_controls[old_name]