summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-03-05 10:44:28 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-03-05 10:44:28 +0000
commit0def1dd23cf1990536122d35ed040173ddaa06ba (patch)
treed4a3ad533c07901b783897ed6720820ec5a88840
parentf444f1ecbe3d79a4c6b7b88a114e61da97f41bc7 (diff)
force the lists to reload when the colour changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16529 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menus/theme_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c
index 723f9fe4ad..43d52cf29c 100644
--- a/apps/menus/theme_menu.c
+++ b/apps/menus/theme_menu.c
@@ -68,6 +68,7 @@ static int set_fg_color(void)
screens[SCREEN_MAIN].set_foreground(global_settings.fg_color);
settings_save();
+ settings_apply();
return res;
}
@@ -79,6 +80,7 @@ static int set_bg_color(void)
screens[SCREEN_MAIN].set_background(global_settings.bg_color);
settings_save();
+ settings_apply();
return res;
}
@@ -91,6 +93,7 @@ static int set_lss_color(void)
screens[SCREEN_MAIN].set_selector_start(global_settings.lss_color);
settings_save();
+ settings_apply();
return res;
}
@@ -102,6 +105,7 @@ static int set_lse_color(void)
screens[SCREEN_MAIN].set_selector_end(global_settings.lse_color);
settings_save();
+ settings_apply();
return res;
}
@@ -114,6 +118,7 @@ static int set_lst_color(void)
screens[SCREEN_MAIN].set_selector_text(global_settings.lst_color);
settings_save();
+ settings_apply();
return res;
}
@@ -131,6 +136,7 @@ static int reset_color(void)
screens[SCREEN_MAIN].set_selector_end(global_settings.lse_color);
screens[SCREEN_MAIN].set_selector_text(global_settings.lst_color);
settings_save();
+ settings_apply();
return 0;
}
MENUITEM_FUNCTION(set_bg_col, 0, ID2P(LANG_BACKGROUND_COLOR),