diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/settings.c b/apps/settings.c index 1b0abfbf46..48571db20e 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -65,12 +65,12 @@ | |||
65 | #include "filetypes.h" | 65 | #include "filetypes.h" |
66 | #include "option_select.h" | 66 | #include "option_select.h" |
67 | #include "backdrop.h" | 67 | #include "backdrop.h" |
68 | #include "appevents.h" | ||
69 | #if CONFIG_TUNER | 68 | #if CONFIG_TUNER |
70 | #include "radio.h" | 69 | #include "radio.h" |
71 | #endif | 70 | #endif |
72 | #include "wps.h" | 71 | #include "wps.h" |
73 | #include "skin_engine/skin_engine.h" | 72 | #include "skin_engine/skin_engine.h" |
73 | #include "viewport.h" | ||
74 | 74 | ||
75 | #if CONFIG_CODEC == MAS3507D | 75 | #if CONFIG_CODEC == MAS3507D |
76 | void dac_line_in(bool enable); | 76 | void dac_line_in(bool enable); |
@@ -761,6 +761,7 @@ void settings_apply_skins(void) | |||
761 | 761 | ||
762 | void settings_apply(bool read_disk) | 762 | void settings_apply(bool read_disk) |
763 | { | 763 | { |
764 | |||
764 | char buf[64]; | 765 | char buf[64]; |
765 | #if CONFIG_CODEC == SWCODEC | 766 | #if CONFIG_CODEC == SWCODEC |
766 | int i; | 767 | int i; |
@@ -985,9 +986,9 @@ void settings_apply(bool read_disk) | |||
985 | #if defined(HAVE_RECORDING) && CONFIG_CODEC == SWCODEC | 986 | #if defined(HAVE_RECORDING) && CONFIG_CODEC == SWCODEC |
986 | enc_global_settings_apply(); | 987 | enc_global_settings_apply(); |
987 | #endif | 988 | #endif |
988 | send_event(GUI_EVENT_STATUSBAR_TOGGLE, NULL); | 989 | #ifdef HAVE_LCD_BITMAP |
989 | list_init_viewports(NULL); | 990 | viewportmanager_theme_changed(THEME_ALL); |
990 | send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); | 991 | #endif |
991 | } | 992 | } |
992 | 993 | ||
993 | 994 | ||
@@ -1109,7 +1110,8 @@ bool set_int_ex(const unsigned char* string, | |||
1109 | item.lang_id = -1; | 1110 | item.lang_id = -1; |
1110 | item.cfg_vals = (char*)string; | 1111 | item.cfg_vals = (char*)string; |
1111 | item.setting = (void *)variable; | 1112 | item.setting = (void *)variable; |
1112 | return option_screen(&item, NULL, false, NULL); | 1113 | return option_screen(&item, |
1114 | viewport_get_current_vp(), false, NULL); | ||
1113 | } | 1115 | } |
1114 | 1116 | ||
1115 | 1117 | ||