[Commits] [SCM] claws branch, master, updated. 3.15.0-90-gcd5ee29

mones at claws-mail.org mones at claws-mail.org
Tue Jul 11 09:54:37 CEST 2017


The branch, master has been updated
       via  cd5ee29a8178584ad47a5b4ef7048d98237b410e (commit)
      from  7bf56c150c8290b02db31a7db62081dd6aa6e4ff (commit)

Summary of changes:
 src/compose.c |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit cd5ee29a8178584ad47a5b4ef7048d98237b410e
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Jul 11 09:53:42 2017 +0200

    Fix initialization of privacy buttons sensitivity

diff --git a/src/compose.c b/src/compose.c
index 4ff2363..d17a16d 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -8532,8 +8532,18 @@ static void compose_update_privacy_system_menu_item(Compose * compose, gboolean
 
 	cm_menu_set_sensitive_full(compose->ui_manager, "Menu/Options/Sign", can_sign);
 	cm_menu_set_sensitive_full(compose->ui_manager, "Menu/Options/Encrypt", can_encrypt);
-}	
- 
+	if (compose->toolbar->privacy_sign_btn != NULL) {
+		gtk_widget_set_sensitive(
+			GTK_WIDGET(compose->toolbar->privacy_sign_btn),
+			can_sign);
+	}
+	if (compose->toolbar->privacy_encrypt_btn != NULL) {
+		gtk_widget_set_sensitive(
+			GTK_WIDGET(compose->toolbar->privacy_encrypt_btn),
+			can_encrypt);
+	}
+}
+
 static void compose_set_out_encoding(Compose *compose)
 {
 	CharSet out_encoding;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list