From 221d255ce1b244f92ea5e5dbc28a6dc4a9057d47 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 1 May 2020 23:09:49 +0200 Subject: [PATCH] remember show panels/thumbs mode --- bundles/UiConfig.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bundles/UiConfig.java b/bundles/UiConfig.java index dd7bbc7..37d4f0b 100644 --- a/bundles/UiConfig.java +++ b/bundles/UiConfig.java @@ -31,7 +31,23 @@ public enum UiConfig { @Meta(description = "The external viewer for non-images documents (or empty to use the system default program for the given file type)",// format = Format.STRING) NON_IMAGES_DOCUMENT_READER, // + // + // GUI settings (hidden in config) + // + @Meta(description = "Show the side panel by default",// + format = Format.BOOLEAN, def = "true") + SHOW_SIDE_PANEL, // + @Meta(description = "Show the details panel by default",// + format = Format.BOOLEAN, def = "true") + SHOW_DETAILS_PANEL, // + @Meta(description = "Show thumbnails by default in the books view",// + format = Format.BOOLEAN, def = "false") + SHOW_THUMBNAILS, // + // + // Deprecated + // @Meta(description = "The background colour of the library if you don't like the default system one",// hidden = true, format = Format.COLOR) + @Deprecated BACKGROUND_COLOR, // } -- 2.27.0