summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index bfeac6c545..39980b1b81 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -36,8 +36,7 @@
36#include "audio.h" 36#include "audio.h"
37#include "playlist.h" 37#include "playlist.h"
38#include "menu.h" 38#include "menu.h"
39#include "wps.h" 39#include "gwps.h"
40#include "wps-display.h"
41#include "settings.h" 40#include "settings.h"
42#include "status.h" 41#include "status.h"
43#include "debug.h" 42#include "debug.h"
@@ -97,6 +96,9 @@ const struct filetype filetypes[] = {
97 { "m3u", TREE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST }, 96 { "m3u", TREE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST },
98 { "cfg", TREE_ATTR_CFG, Icon_Config, VOICE_EXT_CFG }, 97 { "cfg", TREE_ATTR_CFG, Icon_Config, VOICE_EXT_CFG },
99 { "wps", TREE_ATTR_WPS, Icon_Wps, VOICE_EXT_WPS }, 98 { "wps", TREE_ATTR_WPS, Icon_Wps, VOICE_EXT_WPS },
99#ifdef HAVE_REMOTE_LCD
100 { "rwps", TREE_ATTR_RWPS, Icon_Wps, VOICE_EXT_RWPS },
101#endif
100 { "lng", TREE_ATTR_LNG, Icon_Language, LANG_LANGUAGE }, 102 { "lng", TREE_ATTR_LNG, Icon_Language, LANG_LANGUAGE },
101 { "rock",TREE_ATTR_ROCK,Icon_Plugin, VOICE_EXT_ROCK }, 103 { "rock",TREE_ATTR_ROCK,Icon_Plugin, VOICE_EXT_ROCK },
102#ifdef HAVE_LCD_BITMAP 104#ifdef HAVE_LCD_BITMAP
@@ -212,6 +214,7 @@ void browse_root(void)
212{ 214{
213 /* essential to all programs that wants to display things */ 215 /* essential to all programs that wants to display things */
214 screen_access_init(); 216 screen_access_init();
217 gui_sync_wps_screen_init();
215 218
216 filetype_init(); 219 filetype_init();
217 check_rockboxdir(); 220 check_rockboxdir();
@@ -885,7 +888,7 @@ static bool dirbrowse(void)
885 int i; 888 int i;
886 FOR_NB_SCREENS(i) 889 FOR_NB_SCREENS(i)
887 screens[i].stop_scroll(); 890 screens[i].stop_scroll();
888 if (wps_show() == SYS_USB_CONNECTED) 891 if (gui_wps_show() == SYS_USB_CONNECTED)
889 reload_dir = true; 892 reload_dir = true;
890#ifdef HAVE_HOTSWAP 893#ifdef HAVE_HOTSWAP
891 else 894 else