From 4c6b3551b585590e21639d09198b0777b25bf04f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 26 Feb 2010 08:01:41 +0000 Subject: split the theme settings apply() sutff out of settings_apply(). this should fix splashes not being loc'ed, statusbar over the splash (fixed in sim, not on my mini2g though), and the supposed boot time slowdown. What this also does is remove a bunch of unnecessary settings_Apply()'s from the ipod accessory code, and causes all non-skin settings to get applied each time (this includes font and langs which we wernt doing to stop disk access) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24922 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 6d2609b486..187f0cdd96 100644 --- a/apps/main.c +++ b/apps/main.c @@ -325,11 +325,10 @@ static void init(void) sb_skin_init(); viewportmanager_init(); - gui_sync_wps_init(); storage_init(); settings_reset(); settings_load(SETTINGS_ALL); - settings_apply(false); + settings_apply(); init_dircache(true); init_dircache(false); #ifdef HAVE_TAGCACHE @@ -368,7 +367,7 @@ static void init(void) audio_init(); button_clear_queue(); /* Empty the keyboard buffer */ - settings_apply(true); + settings_apply_skins(); } #else @@ -455,8 +454,6 @@ static void init(void) sb_skin_init(); viewportmanager_init(); - gui_sync_wps_init(); - #if CONFIG_CHARGING && (CONFIG_CPU == SH7034) /* charger_inserted() can't be used here because power_thread() hasn't checked power_input_status() yet */ @@ -562,7 +559,7 @@ static void init(void) #endif } - settings_apply(false); + settings_apply(); init_dircache(false); #ifdef HAVE_TAGCACHE init_tagcache(); @@ -627,8 +624,7 @@ static void init(void) #ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN check_bootfile(false); /* remember write time and filesize */ #endif - - settings_apply(true); + settings_apply_skins(); } #ifdef CPU_PP -- cgit v1.2.3