finch/gntrequest.c

changeset 33213
2852fbde4722
parent 32887
442a78eea36e
child 34306
4fb8809f2f97
child 34696
6e0d13978666
equal deleted inserted replaced
33212:970a460e74fa 33213:2852fbde4722
386 } 386 }
387 387
388 purple_notify_close_with_handle(button); 388 purple_notify_close_with_handle(button);
389 389
390 if (!g_object_get_data(G_OBJECT(button), "cancellation-function") && 390 if (!g_object_get_data(G_OBJECT(button), "cancellation-function") &&
391 !purple_request_fields_all_required_filled(fields)) { 391 (!purple_request_fields_all_required_filled(fields) ||
392 !purple_request_fields_all_valid(fields))) {
392 purple_notify_error(button, _("Error"), 393 purple_notify_error(button, _("Error"),
393 _("You must fill all the required fields."), 394 _("You must properly fill all the required fields."),
394 _("The required fields are underlined.")); 395 _("The required fields are underlined."));
395 return; 396 return;
396 } 397 }
397 398
398 if (callback) 399 if (callback)
399 callback(data, fields); 400 callback(data, fields);

mercurial