[Commits] [SCM] claws branch, master, updated. 3.13.2-30-gb88955d

ticho at claws-mail.org ticho at claws-mail.org
Wed Feb 10 19:46:39 CET 2016


The branch, master has been updated
       via  b88955da552b8d5e721a108bd5615f989b8e5e22 (commit)
      from  3dfc764e34a658e911674ad4a0a1ab1bab60e5d7 (commit)

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


- Log -----------------------------------------------------------------
commit b88955da552b8d5e721a108bd5615f989b8e5e22
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Feb 10 19:46:11 2016 +0100

    Another logic fix for handling master password change dialog.

diff --git a/src/prefs_other.c b/src/prefs_other.c
index 01a6f54..405a374 100644
--- a/src/prefs_other.c
+++ b/src/prefs_other.c
@@ -716,6 +716,15 @@ static void prefs_other_save(PrefsPage *_page)
 			GTK_TOGGLE_BUTTON(page->checkbtn_use_password))
 			&& master_password_is_set()) {
 		master_password_change(NULL);
+
+		/* In case user did not finish the password change process
+		 * (e.g. did not enter a correct current master password),
+		 * we need to enable the "use master password" checkbox again,
+		 * since the old master password is still valid. */
+		if (master_password_is_set()) {
+			gtk_toggle_button_set_active(
+				GTK_TOGGLE_BUTTON(page->checkbtn_use_password), TRUE);
+		}
 	}
 
 	if (gtk_toggle_button_get_active(

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list