[Commits] [SCM] claws branch, master, updated. 3.17.4-70-g6e07419b4

paul at claws-mail.org paul at claws-mail.org
Fri Nov 15 11:54:31 CET 2019


The branch, master has been updated
       via  6e07419b4d874b4f59bc0f3bae6e54d17a5bec8b (commit)
      from  232d79827488c2cea8d14732faef8bb74f706d88 (commit)

Summary of changes:
 src/main.c | 1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit 6e07419b4d874b4f59bc0f3bae6e54d17a5bec8b
Author: Paul <paul at claws-mail.org>
Date:   Fri Nov 15 11:54:26 2019 +0000

    don't save 'last_opened_folder' value if 'goto_last_folder_on_startup' is not set
    
    Based on patch by Olaf Hering

diff --git a/src/main.c b/src/main.c
index deb5e1322..91ad338e2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1693,6 +1693,7 @@ static void exit_claws(MainWindow *mainwin)
 		if (prefs_common.last_opened_folder != NULL)
 			g_free(prefs_common.last_opened_folder);
 		prefs_common.last_opened_folder =
+			!prefs_common.goto_last_folder_on_startup ? NULL :
 			folder_item_get_identifier(item);
 	}
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list