[Pidgin] #3938: API to validate account options without connecting

Pidgin trac at pidgin.im
Tue Nov 13 16:32:15 EST 2007


#3938: API to validate account options without connecting
-------------------------+--------------------------------------------------
 Reporter:  resiak       |       Owner:  resiak
     Type:  enhancement  |      Status:  new   
 Priority:  minor        |   Milestone:        
Component:  libpurple    |     Version:  2.2.2 
 Keywords:               |     Pending:  0     
-------------------------+--------------------------------------------------
 There is currently no way to validate an account's username or other
 options without trying to connect, at which point all you get is a
 connection error of type `PURPLE_CONNECTION_ERROR_INVALID_SETTINGS` and a
 localized string explaining the problem.  It'd be great to have a
 `ProtocolInfo` function, say `gboolean validate_field(const char
 *field_name, const char **problem)`, so that the account options dialog
 (and telepathy-haze) can alert the user to which fields are invalid.

 I'm filing a bug against myself as a kind of public TODO list, but if
 anyone else wants to implement this, I won't complain.  :-)

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3938>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list