summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index cb5479e8..a7925def 100644
--- a/src/app.c
+++ b/src/app.c
@@ -243,6 +243,7 @@ static iString *serializePrefs_App_(const iApp *d) {
243 appendFormat_String(str, "prefs.centershort.changed arg:%d\n", d->prefs.centerShortDocs); 243 appendFormat_String(str, "prefs.centershort.changed arg:%d\n", d->prefs.centerShortDocs);
244 appendFormat_String(str, "prefs.collapsepreonload.changed arg:%d\n", d->prefs.collapsePreOnLoad); 244 appendFormat_String(str, "prefs.collapsepreonload.changed arg:%d\n", d->prefs.collapsePreOnLoad);
245 appendFormat_String(str, "prefs.hoverlink.changed arg:%d\n", d->prefs.hoverLink); 245 appendFormat_String(str, "prefs.hoverlink.changed arg:%d\n", d->prefs.hoverLink);
246 appendFormat_String(str, "prefs.bookmarks.addbottom arg:%d\n", d->prefs.addBookmarksToBottom);
246 appendFormat_String(str, "prefs.archive.openindex.changed arg:%d\n", d->prefs.openArchiveIndexPages); 247 appendFormat_String(str, "prefs.archive.openindex.changed arg:%d\n", d->prefs.openArchiveIndexPages);
247 appendFormat_String(str, "quoteicon.set arg:%d\n", d->prefs.quoteIcon ? 1 : 0); 248 appendFormat_String(str, "quoteicon.set arg:%d\n", d->prefs.quoteIcon ? 1 : 0);
248 appendFormat_String(str, "theme.set arg:%d auto:1\n", d->prefs.theme); 249 appendFormat_String(str, "theme.set arg:%d auto:1\n", d->prefs.theme);
@@ -2413,6 +2414,10 @@ iBool handleCommand_App(const char *cmd) {
2413 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0; 2414 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0;
2414 return iTrue; 2415 return iTrue;
2415 } 2416 }
2417 else if (equal_Command(cmd, "prefs.bookmarks.addbottom.changed")) {
2418 d->prefs.addBookmarksToBottom = arg_Command(cmd) != 0;
2419 return iTrue;
2420 }
2416 else if (equal_Command(cmd, "prefs.animate.changed")) { 2421 else if (equal_Command(cmd, "prefs.animate.changed")) {
2417 d->prefs.uiAnimations = arg_Command(cmd) != 0; 2422 d->prefs.uiAnimations = arg_Command(cmd) != 0;
2418 return iTrue; 2423 return iTrue;
@@ -2710,6 +2715,7 @@ iBool handleCommand_App(const char *cmd) {
2710 setToggle_Widget(findChild_Widget(dlg, "prefs.smoothscroll"), d->prefs.smoothScrolling); 2715 setToggle_Widget(findChild_Widget(dlg, "prefs.smoothscroll"), d->prefs.smoothScrolling);
2711 setToggle_Widget(findChild_Widget(dlg, "prefs.imageloadscroll"), d->prefs.loadImageInsteadOfScrolling); 2716 setToggle_Widget(findChild_Widget(dlg, "prefs.imageloadscroll"), d->prefs.loadImageInsteadOfScrolling);
2712 setToggle_Widget(findChild_Widget(dlg, "prefs.hidetoolbarscroll"), d->prefs.hideToolbarOnScroll); 2717 setToggle_Widget(findChild_Widget(dlg, "prefs.hidetoolbarscroll"), d->prefs.hideToolbarOnScroll);
2718 setToggle_Widget(findChild_Widget(dlg, "prefs.bookmarks.addbottom"), d->prefs.addBookmarksToBottom);
2713 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages); 2719 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages);
2714 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme); 2720 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme);
2715 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame); 2721 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame);