[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-80-ge6e3c27f7

paul at claws-mail.org paul at claws-mail.org
Thu Apr 15 17:24:26 CEST 2021


The branch, gtk3 has been updated
       via  e6e3c27f75c2198d67672abc8f5582106d355928 (commit)
      from  c532efe27611ce7938989eb65759efedfd1a2b36 (commit)

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


- Log -----------------------------------------------------------------
commit e6e3c27f75c2198d67672abc8f5582106d355928
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 797e3d52d..d6e5d2cb7 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -2366,6 +2366,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