summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 13:40:54 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 13:41:35 +0300
commitf9117532955f0d8935971eb1053f13f9ecab7662 (patch)
tree843914f355dc8da3cadaa6bd450075c7dc501054 /src/prefs.h
parent6074a467110bfb4e40c3e659cc674d7bbaa82d5a (diff)
Preferences: Collapse preformatted blocks on page load
IssueID #180
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 1bd434d0..232c6fc3 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -32,6 +32,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
32 32
33iDeclareType(Prefs) 33iDeclareType(Prefs)
34 34
35/* TODO: Refactor at least the boolean values into an array for easier manipulation.
36 Then they can be (de)serialized as a group. Need to use a systematic command naming
37 convention for notifications. */
35struct Impl_Prefs { 38struct Impl_Prefs {
36 /* UI state */ 39 /* UI state */
37 int dialogTab; 40 int dialogTab;
@@ -53,6 +56,7 @@ struct Impl_Prefs {
53 iBool hoverLink; 56 iBool hoverLink;
54 iBool smoothScrolling; 57 iBool smoothScrolling;
55 iBool loadImageInsteadOfScrolling; 58 iBool loadImageInsteadOfScrolling;
59 iBool collapsePreOnLoad;
56 iString searchUrl; 60 iString searchUrl;
57 /* Network */ 61 /* Network */
58 iString caFile; 62 iString caFile;