Changeset 6439

Show
Ignore:
Timestamp:
06/05/06 14:01:17 (2 years ago)
Author:
jim++
Message:

Use unified way to ask our own vcard so it is auto retrieved

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/config.py

    r6339 r6439  
    14011401                                _('You must create your account before editing your personal information.')) 
    14021402                        return 
    1403                 jid = self.xml.get_widget('jid_entry').get_text().decode('utf-8') 
    14041403 
    14051404                # show error dialog if account is newly created (not in gajim.connections) 
     
    14101409                        return 
    14111410 
    1412                 # in infos the key jid is OUR jid so we save the vcardwindow instance there 
    1413                 if gajim.interface.instances[self.account]['infos'].has_key(jid): 
    1414                         gajim.interface.instances[self.account]['infos'][jid].window.present() 
    1415                 else: 
    1416                         gajim.interface.instances[self.account]['infos'][jid] = \ 
    1417                                 vcard.VcardWindow(jid, self.account, True) 
     1411                gajim.interface.edit_own_details(self.account) 
    14181412 
    14191413        def on_manage_proxies_button_clicked(self, widget):