Changeset 8750

Show
Ignore:
Timestamp:
09/07/07 23:21:05 (15 months ago)
Author:
asterix
Message:

better error message when username contacins a '@' in account creation window

Files:
1 modified

Legend:

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

    r8738 r8750  
    28932893                                dialogs.ErrorDialog(pritext, sectext) 
    28942894                                return 
     2895                        if '@' in username: 
     2896                                pritext = _('Invalid username') 
     2897                                sectext = _('Invalid username') 
     2898                                dialogs.ErrorDialog(pritext, sectext) 
     2899                                return 
    28952900                        server = widgets['server_comboboxentry'].child.get_text().decode('utf-8') 
    28962901                        savepass = widgets['save_password_checkbutton'].get_active()