diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-07-11 22:05:38 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-07-11 22:05:38 +0000 |
commit | 5737254429fd1d37ced19aa7b1b397c4794c383b (patch) | |
tree | dbcdade0f877ddb38702c3f0cbd042019c2283b6 /apps/tree.c | |
parent | 28b0c58726bf0a42da3433d2d1ca5f0e559d9bd1 (diff) | |
download | rockbox-5737254429fd1d37ced19aa7b1b397c4794c383b.tar.gz rockbox-5737254429fd1d37ced19aa7b1b397c4794c383b.zip |
Give the plugin menu its own title (when configured). Fixes FS #7371
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13856 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 6 insertions, 0 deletions
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)); |