diff options
-rw-r--r-- | apps/root_menu.c | 2 | ||||
-rw-r--r-- | apps/tree.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index e99cb4aa88..ff954a0a07 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -181,7 +181,7 @@ static int browser(void* param) | |||
181 | #endif | 181 | #endif |
182 | case GO_TO_BROWSEPLUGINS: | 182 | case GO_TO_BROWSEPLUGINS: |
183 | filter = SHOW_PLUGINS; | 183 | filter = SHOW_PLUGINS; |
184 | snprintf(folder, MAX_PATH, "%s/", PLUGIN_DIR); | 184 | snprintf(folder, MAX_PATH, "%s", PLUGIN_DIR); |
185 | break; | 185 | break; |
186 | } | 186 | } |
187 | ret_val = rockbox_browse(folder, filter); | 187 | ret_val = rockbox_browse(folder, filter); |
diff --git a/apps/tree.c b/apps/tree.c index e3735beb1b..b54238b08c 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -360,6 +360,12 @@ static int update_dir(void) | |||
360 | gui_synclist_set_title(&tree_lists, str(LANG_DIR_BROWSER), | 360 | gui_synclist_set_title(&tree_lists, str(LANG_DIR_BROWSER), |
361 | filetype_get_icon(ATTR_DIRECTORY)); | 361 | filetype_get_icon(ATTR_DIRECTORY)); |
362 | } | 362 | } |
363 | else if(0 == strcasecmp(tc.currdir, PLUGIN_DIR)) | ||
364 | { | ||
365 | /* Display "Plugins" for the rocks dir */ | ||
366 | gui_synclist_set_title(&tree_lists, str(LANG_PLUGINS), | ||
367 | filetype_get_icon(ATTR_DIRECTORY)); | ||
368 | } | ||
363 | else | 369 | else |
364 | gui_synclist_set_title(&tree_lists, title, | 370 | gui_synclist_set_title(&tree_lists, title, |
365 | filetype_get_icon(ATTR_DIRECTORY)); | 371 | filetype_get_icon(ATTR_DIRECTORY)); |