diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-10-19 16:08:43 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-19 16:08:43 +0000 |
commit | de7f24104650a03590d009be28283e9b361d6652 (patch) | |
tree | ebb8e302202faf28a81dfa6650e6c985a5b42a02 /apps/tree.c | |
parent | 9351d41e5a3541037c777cb2cff1ba7a9a32545e (diff) | |
download | rockbox-de7f24104650a03590d009be28283e9b361d6652.tar.gz rockbox-de7f24104650a03590d009be28283e9b361d6652.zip |
Add a browse (remote) custom statusbar item in the theme settings.
Uses the same icon that browse wps uses for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 3570798706..db39e838ad 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -947,6 +947,11 @@ int rockbox_browse(const char *root, int dirfilter) | |||
947 | snprintf(current, sizeof(current), WPS_DIR "/%s.rwps", | 947 | snprintf(current, sizeof(current), WPS_DIR "/%s.rwps", |
948 | global_settings.rwps_file); | 948 | global_settings.rwps_file); |
949 | } | 949 | } |
950 | else if (dirfilter == SHOW_RSBS) | ||
951 | { | ||
952 | snprintf(current, sizeof(current), SBS_DIR "/%s.rsbs", | ||
953 | global_settings.rsbs_file); | ||
954 | } | ||
950 | #endif | 955 | #endif |
951 | #ifdef HAVE_LCD_BITMAP | 956 | #ifdef HAVE_LCD_BITMAP |
952 | /* Center on the currently loaded font when browsing fonts */ | 957 | /* Center on the currently loaded font when browsing fonts */ |
@@ -955,6 +960,11 @@ int rockbox_browse(const char *root, int dirfilter) | |||
955 | snprintf(current, sizeof(current), FONT_DIR "/%s.fnt", | 960 | snprintf(current, sizeof(current), FONT_DIR "/%s.fnt", |
956 | global_settings.font_file); | 961 | global_settings.font_file); |
957 | } | 962 | } |
963 | else if (dirfilter == SHOW_SBS) | ||
964 | { | ||
965 | snprintf(current, sizeof(current), SBS_DIR "/%s.sbs", | ||
966 | global_settings.sbs_file); | ||
967 | } | ||
958 | #endif | 968 | #endif |
959 | #if CONFIG_TUNER | 969 | #if CONFIG_TUNER |
960 | /* Center on the currently loaded FM preset when browsing those */ | 970 | /* Center on the currently loaded FM preset when browsing those */ |