session.conf split follow-up: sidebar_page (PR #3168)
commitd84f146d9b34b82b44a7ee896cb848d2e5e53f99
authorThomas Martitz <thomas.martitz@mailbox.org>
Sun, 24 Apr 2022 20:43:51 +0000 (24 22:43 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 20:43:51 +0000 (24 22:43 +0200)
tree1a44cf90a9b17541648de46a83b7e56855532b13
parenta86fc9bf8199a640d23d52584842921dcafef9c5
session.conf split follow-up: sidebar_page (PR #3168)

Move sidebar_page layout to session.conf

The current tab of the sidebar notebook is now considered "session-related",
and thus moved from geany.conf to session.conf.

To allow of "sidebar_page" to be loaded from session.conf, the
"documents_show_paths" key is moved to keyfile.c, otherwise it would
also become session-related (due to the StashGroup in sidebar.c being tied
to session.conf).
src/keyfile.c
src/sidebar.c
src/sidebar.h
src/ui_utils.h