From 6cf7cb9822782295091fb083eab1f2862500b53b Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 27 Nov 2011 10:10:26 +0000 Subject: Don't load the icons unless show_icons is actually enabled. And respect that setting in the shortcuts menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31069 a1c6a512-1295-4272-9138-f99709370657 --- apps/shortcuts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/shortcuts.c') diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 3992068807..8ded75c1f2 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c @@ -357,7 +357,8 @@ int do_shortcut_menu(void *ignored) simplelist_info_init(&list, P2STR(ID2P(LANG_SHORTCUTS)), shortcut_count, NULL); list.get_name = shortcut_menu_get_name; list.action_callback = shortcut_menu_get_action; - list.get_icon = shortcut_menu_get_icon; + if (global_settings.show_icons) + list.get_icon = shortcut_menu_get_icon; list.title_icon = Icon_Bookmark; push_current_activity(ACTIVITY_SHORTCUTSMENU); -- cgit v1.2.3