diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 13:40:54 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 13:41:35 +0300 |
commit | f9117532955f0d8935971eb1053f13f9ecab7662 (patch) | |
tree | 843914f355dc8da3cadaa6bd450075c7dc501054 /src/ui/util.c | |
parent | 6074a467110bfb4e40c3e659cc674d7bbaa82d5a (diff) |
Preferences: Collapse preformatted blocks on page load
IssueID #180
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 64b32bad..870d1cad 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1899,6 +1899,8 @@ iWidget *makePreferences_Widget(void) { | |||
1899 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.hoverlink"))); | 1899 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.hoverlink"))); |
1900 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.centershort}"))); | 1900 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.centershort}"))); |
1901 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.centershort"))); | 1901 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.centershort"))); |
1902 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.collapsepreonload}"))); | ||
1903 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.collapsepreonload"))); | ||
1902 | makeTwoColumnHeading_("${heading.prefs.scrolling}", headings, values); | 1904 | makeTwoColumnHeading_("${heading.prefs.scrolling}", headings, values); |
1903 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.smoothscroll}"))); | 1905 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.smoothscroll}"))); |
1904 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll"))); | 1906 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll"))); |
@@ -2018,7 +2020,6 @@ iWidget *makePreferences_Widget(void) { | |||
2018 | appendTwoColumnPage_(tabs, "${heading.prefs.style}", '4', &headings, &values); | 2020 | appendTwoColumnPage_(tabs, "${heading.prefs.style}", '4', &headings, &values); |
2019 | makeTwoColumnHeading_("${heading.prefs.fonts}", headings, values); | 2021 | makeTwoColumnHeading_("${heading.prefs.fonts}", headings, values); |
2020 | /* Fonts. */ { | 2022 | /* Fonts. */ { |
2021 | iWidget *fonts; | ||
2022 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.headingfont}"))); | 2023 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.headingfont}"))); |
2023 | addFontButtons_(values, "headingfont"); | 2024 | addFontButtons_(values, "headingfont"); |
2024 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.font}"))); | 2025 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.font}"))); |