projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
232d798
)
don't save 'last_opened_folder' value if 'goto_last_folder_on_startup' is not set
author
Paul
<paul@claws-mail.org>
Fri, 15 Nov 2019 11:54:26 +0000
(11:54 +0000)
committer
Paul
<paul@claws-mail.org>
Fri, 15 Nov 2019 11:54:26 +0000
(11:54 +0000)
Based on patch by Olaf Hering
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index deb5e1322615bcb2cfdf6201e6876e886881312a..91ad338e2de6f85dc39c8d4c6f62a13fb7ef5e80 100644
(file)
--- 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 =
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);
}
folder_item_get_identifier(item);
}