[Commits] [SCM] claws branch, master, updated. 3.17.8-66-g43b301a1b

paul at claws-mail.org paul at claws-mail.org
Thu Apr 15 17:25:00 CEST 2021


The branch, master has been updated
       via  43b301a1b13682efa67eb5c055f27c19d633455e (commit)
      from  48a5932dfcb80bc17eb38d011496efc90426297c (commit)

Summary of changes:
 src/prefs_account.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 43b301a1b13682efa67eb5c055f27c19d633455e
Author: paul <paul at claws-mail.org>
Date:   Thu Apr 15 16:24:22 2021 +0100

    only activate the Authroize button when the Authorization Code box is not empty

diff --git a/src/prefs_account.c b/src/prefs_account.c
index 6ab633338..f78850be8 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -2400,6 +2400,8 @@ static void oauth2_create_widget_func(PrefsPage * _page,
 			 G_CALLBACK(prefs_account_oauth2_set_sensitivity), NULL);
 	g_signal_connect(G_OBJECT(oauth2_authcode_entry), "changed", 
 			 G_CALLBACK(prefs_account_oauth2_set_auth_sensitivity), NULL);
+	gtk_widget_set_sensitive(GTK_WIDGET(oauth2_authorise_btn),
+				 gtk_entry_get_text_length(GTK_ENTRY(oauth2_authcode_entry)) > 0);
 
 	if (new_account) {
 		prefs_set_dialog_to_default(oauth2_param);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list