From 5737254429fd1d37ced19aa7b1b397c4794c383b Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Wed, 11 Jul 2007 22:05:38 +0000 Subject: 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 --- apps/tree.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/tree.c') 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) gui_synclist_set_title(&tree_lists, str(LANG_DIR_BROWSER), filetype_get_icon(ATTR_DIRECTORY)); } + else if(0 == strcasecmp(tc.currdir, PLUGIN_DIR)) + { + /* Display "Plugins" for the rocks dir */ + gui_synclist_set_title(&tree_lists, str(LANG_PLUGINS), + filetype_get_icon(ATTR_DIRECTORY)); + } else gui_synclist_set_title(&tree_lists, title, filetype_get_icon(ATTR_DIRECTORY)); -- cgit v1.2.3