summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 3cc587e9..0d0f66de 100644
--- a/src/app.c
+++ b/src/app.c
@@ -659,6 +659,8 @@ static iBool handlePrefsCommands_(iWidget *d, const char *cmd) {
659 if (equal_Command(cmd, "prefs.dismiss") || equal_Command(cmd, "preferences")) { 659 if (equal_Command(cmd, "prefs.dismiss") || equal_Command(cmd, "preferences")) {
660 setUiScale_Window(get_Window(), 660 setUiScale_Window(get_Window(),
661 toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale")))); 661 toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale"))));
662 postCommandf_App("downloads path:%s",
663 cstr_String(text_InputWidget(findChild_Widget(d, "prefs.downloads"))));
662 postCommandf_App("window.retain arg:%d", 664 postCommandf_App("window.retain arg:%d",
663 isSelected_Widget(findChild_Widget(d, "prefs.retainwindow"))); 665 isSelected_Widget(findChild_Widget(d, "prefs.retainwindow")));
664 postCommandf_App("ostheme arg:%d", 666 postCommandf_App("ostheme arg:%d",
@@ -892,6 +894,7 @@ iBool handleCommand_App(const char *cmd) {
892 else if (equal_Command(cmd, "preferences")) { 894 else if (equal_Command(cmd, "preferences")) {
893 iWidget *dlg = makePreferences_Widget(); 895 iWidget *dlg = makePreferences_Widget();
894 updatePrefsThemeButtons_(dlg); 896 updatePrefsThemeButtons_(dlg);
897 setText_InputWidget(findChild_Widget(dlg, "prefs.downloads"), &d->downloadDir);
895 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->useSystemTheme); 898 setToggle_Widget(findChild_Widget(dlg, "prefs.ostheme"), d->useSystemTheme);
896 setToggle_Widget(findChild_Widget(dlg, "prefs.retainwindow"), d->retainWindowSize); 899 setToggle_Widget(findChild_Widget(dlg, "prefs.retainwindow"), d->retainWindowSize);
897 setText_InputWidget(findChild_Widget(dlg, "prefs.uiscale"), 900 setText_InputWidget(findChild_Widget(dlg, "prefs.uiscale"),