diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2023-03-16 22:50:08 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2023-03-16 22:50:08 -0500 |
commit | 5701ff4637926e7f04d9b1022082d887883dd9ca (patch) | |
tree | 9edb3e9cebdcb8cd26944018069a153f62624e98 /pidgin | |
parent | 05d170ef2463c58fa4e9d4bc8e66fb3913cc32c4 (diff) | |
download | pidgin-5701ff4637926e7f04d9b1022082d887883dd9ca.tar.gz |
Add PurpleRequest{Group,Page}:valid properties
This collects the validity of the fields/groups within the group/page into a single value.
Testing Done:
Compiled and ran `ninja test`.
Reviewed at https://reviews.imfreedom.org/r/2348/
Diffstat (limited to 'pidgin')
-rw-r--r-- | pidgin/gtkrequest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pidgin/gtkrequest.c b/pidgin/gtkrequest.c index 58f8355929..1ac25084da 100644 --- a/pidgin/gtkrequest.c +++ b/pidgin/gtkrequest.c @@ -235,7 +235,7 @@ req_field_changed_common(G_GNUC_UNUSED GtkWidget *widget, gtk_widget_set_sensitive(req_data->ok_button, purple_request_page_all_required_filled(page) && - purple_request_page_all_valid(page)); + purple_request_page_is_valid(page)); } static void @@ -2208,7 +2208,7 @@ pidgin_request_fields(const char *title, const char *primary, gtk_widget_set_sensitive(data->ok_button, FALSE); } - if(!purple_request_page_all_valid(page)) { + if(!purple_request_page_is_valid(page)) { gtk_widget_set_sensitive(data->ok_button, FALSE); } |