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 a2ada36e..d1e3870a 100644
--- a/src/app.c
+++ b/src/app.c
@@ -280,6 +280,7 @@ static iString *serializePrefs_App_(const iApp *d) {
280 { "prefs.collapsepreonload", &d->prefs.collapsePreOnLoad }, 280 { "prefs.collapsepreonload", &d->prefs.collapsePreOnLoad },
281 { "prefs.hoverlink", &d->prefs.hoverLink }, 281 { "prefs.hoverlink", &d->prefs.hoverLink },
282 { "prefs.bookmarks.addbottom", &d->prefs.addBookmarksToBottom }, 282 { "prefs.bookmarks.addbottom", &d->prefs.addBookmarksToBottom },
283 { "prefs.dataurl.openimages", &d->prefs.openDataUrlImagesOnLoad },
283 { "prefs.archive.openindex", &d->prefs.openArchiveIndexPages }, 284 { "prefs.archive.openindex", &d->prefs.openArchiveIndexPages },
284 { "prefs.font.warnmissing", &d->prefs.warnAboutMissingGlyphs }, 285 { "prefs.font.warnmissing", &d->prefs.warnAboutMissingGlyphs },
285 { "prefs.blink", &d->prefs.blinkingCursor }, 286 { "prefs.blink", &d->prefs.blinkingCursor },
@@ -2729,6 +2730,10 @@ iBool handleCommand_App(const char *cmd) {
2729 postRefresh_App(); 2730 postRefresh_App();
2730 return iTrue; 2731 return iTrue;
2731 } 2732 }
2733 else if (equal_Command(cmd, "prefs.dataurl.openimages.changed")) {
2734 d->prefs.openDataUrlImagesOnLoad = arg_Command(cmd) != 0;
2735 return iTrue;
2736 }
2732 else if (equal_Command(cmd, "prefs.archive.openindex.changed")) { 2737 else if (equal_Command(cmd, "prefs.archive.openindex.changed")) {
2733 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0; 2738 d->prefs.openArchiveIndexPages = arg_Command(cmd) != 0;
2734 return iTrue; 2739 return iTrue;
@@ -3096,6 +3101,7 @@ iBool handleCommand_App(const char *cmd) {
3096 setToggle_Widget(findChild_Widget(dlg, "prefs.hidetoolbarscroll"), d->prefs.hideToolbarOnScroll); 3101 setToggle_Widget(findChild_Widget(dlg, "prefs.hidetoolbarscroll"), d->prefs.hideToolbarOnScroll);
3097 setToggle_Widget(findChild_Widget(dlg, "prefs.bookmarks.addbottom"), d->prefs.addBookmarksToBottom); 3102 setToggle_Widget(findChild_Widget(dlg, "prefs.bookmarks.addbottom"), d->prefs.addBookmarksToBottom);
3098 setToggle_Widget(findChild_Widget(dlg, "prefs.font.warnmissing"), d->prefs.warnAboutMissingGlyphs); 3103 setToggle_Widget(findChild_Widget(dlg, "prefs.font.warnmissing"), d->prefs.warnAboutMissingGlyphs);
3104 setToggle_Widget(findChild_Widget(dlg, "prefs.dataurl.openimages"), d->prefs.openDataUrlImagesOnLoad);
3099 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages); 3105 setToggle_Widget(findChild_Widget(dlg, "prefs.archive.openindex"), d->prefs.openArchiveIndexPages);
3100 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme); 3106 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->prefs.useSystemTheme);
3101 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame); 3107 setToggle_Widget(findChild_Widget(dlg, "prefs.customframe"), d->prefs.customFrame);