[GSoC 2012] Planned API changes - RFC

John Bailey rekkanoryo at rekkanoryo.org
Mon Jul 16 09:59:22 EDT 2012


On 07/15/2012 01:18 PM, Tomasz Wasilczyk wrote:
> I've managed to use validation in account setup and buddy adding
> dialog. (Un)fortunately, "new conversation" dialog uses
> purple_request_fields, which doesn't support validation. I may
> implement such feature (also resulting in API change):
> - add optional validation callback to separate request fields (to
> easily add simple validators for numbers, email, etc)
> - add optional validation callback to whole form (to validate
> username, which is related to account selected in separate field)
> 
> I also need such validation for dialogs used in Gadu-Gadu protocol plugin.

Why can't you simply validate in your callbacks?

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20120716/cfa597fe/attachment.sig>


More information about the Devel mailing list