[GSoC 2012] Planned API changes - RFC
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the Devel