diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-30 06:24:38 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-30 06:24:38 +0000 |
| commit | c589150d5897953fc5cbd371cf1cbcc763723a56 (patch) | |
| tree | d1f9567bd5c5a59fe183e82096e5f94163339604 | |
| parent | 022299ee6c1271f12b14539cf7e000d38048a63a (diff) | |
| download | rockbox-c589150d5897953fc5cbd371cf1cbcc763723a56.zip rockbox-c589150d5897953fc5cbd371cf1cbcc763723a56.tar.gz rockbox-c589150d5897953fc5cbd371cf1cbcc763723a56.tar.bz2 rockbox-c589150d5897953fc5cbd371cf1cbcc763723a56.tar.xz | |
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
| -rw-r--r-- | apps/onplay.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 3ea08fd..5ef595a 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -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); |