talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 6e07419b4d874b4f59bc0f3bae6e54d17a5bec8b
parent 232d79827488c2cea8d14732faef8bb74f706d88
Author: Paul <paul@claws-mail.org>
Date:   Fri, 15 Nov 2019 11:54:26 +0000

don't save 'last_opened_folder' value if 'goto_last_folder_on_startup' is not set

Based on patch by Olaf Hering

Diffstat:
Msrc/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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); }