Moved the Open With option down in the ON+Play menu

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4976 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-30 06:24:38 +00:00
parent 022299ee6c
commit c589150d58

View file

@ -409,13 +409,6 @@ int onplay(char* file, int attr)
selected_file = file;
selected_file_attr = attr;
if (!(attr & ATTR_DIRECTORY))
{
items[i].desc = ID2P(LANG_ONPLAY_OPEN_WITH);
items[i].function = list_viewers;
i++;
}
if (((attr & TREE_ATTR_MASK) == TREE_ATTR_MPA) ||
(attr & ATTR_DIRECTORY) ||
((attr & TREE_ATTR_MASK) == TREE_ATTR_M3U))
@ -441,6 +434,13 @@ int onplay(char* file, int attr)
items[i].function = delete_dir;
i++;
}
if (!(attr & ATTR_DIRECTORY))
{
items[i].desc = ID2P(LANG_ONPLAY_OPEN_WITH);
items[i].function = list_viewers;
i++;
}
}
items[i].desc = ID2P(LANG_CREATE_DIR);