diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"), |