finch/gntrequest.c

changeset 42154
2557742988dc
parent 42152
2bcdf415a79d
child 42155
bce9e3254fe6
equal deleted inserted replaced
42153:f012db35bbc5 42154:2557742988dc
375 } 375 }
376 } 376 }
377 377
378 purple_notify_close_with_handle(button); 378 purple_notify_close_with_handle(button);
379 379
380 if (!g_object_get_data(G_OBJECT(button), "cancellation-function") && 380 if(!g_object_get_data(G_OBJECT(button), "cancellation-function") &&
381 (!purple_request_page_all_required_filled(page) || 381 !purple_request_page_is_valid(page))
382 !purple_request_page_is_valid(page))) { 382 {
383 purple_notify_error(button, _("Error"), 383 purple_notify_error(button, _("Error"),
384 _("You must properly fill all the required fields."), 384 _("You must properly fill all the required fields."),
385 _("The required fields are underlined."), NULL); 385 _("The required fields are underlined."), NULL);
386 return; 386 return;
387 } 387 }

mercurial