diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-24 22:10:55 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-24 22:10:55 +0000 |
commit | 0e935bdf01aff1e3bc66221c9a0fcc80f935c3d6 (patch) | |
tree | 626165c44c756af95888380578b390ad28c078ce /apps | |
parent | 37d7c472ba35acada8e77db7fba24643ab5c0ceb (diff) | |
download | rockbox-0e935bdf01aff1e3bc66221c9a0fcc80f935c3d6.tar.gz rockbox-0e935bdf01aff1e3bc66221c9a0fcc80f935c3d6.zip |
Removed Create Playlist from the browser context menu, put Playlist first in all context menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6855 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/onplay.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index da6d9f3e2f..25b7d204e2 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -257,7 +257,8 @@ static bool playlist_options(void) | |||
257 | pstart++; | 257 | pstart++; |
258 | } | 258 | } |
259 | 259 | ||
260 | if (audio_status() & AUDIO_STATUS_PLAY) | 260 | if (audio_status() & AUDIO_STATUS_PLAY && |
261 | context == CONTEXT_WPS) | ||
261 | { | 262 | { |
262 | items[i].desc = ID2P(LANG_VIEW_DYNAMIC_PLAYLIST); | 263 | items[i].desc = ID2P(LANG_VIEW_DYNAMIC_PLAYLIST); |
263 | items[i].function = playlist_viewer; | 264 | items[i].function = playlist_viewer; |
@@ -277,11 +278,6 @@ static bool playlist_options(void) | |||
277 | 278 | ||
278 | if (context == CONTEXT_TREE) | 279 | if (context == CONTEXT_TREE) |
279 | { | 280 | { |
280 | items[i].desc = ID2P(LANG_CREATE_PLAYLIST); | ||
281 | items[i].function = create_playlist; | ||
282 | i++; | ||
283 | pstart++; | ||
284 | |||
285 | if (audio_status() & AUDIO_STATUS_PLAY) | 281 | if (audio_status() & AUDIO_STATUS_PLAY) |
286 | { | 282 | { |
287 | items[i].desc = ID2P(LANG_INSERT); | 283 | items[i].desc = ID2P(LANG_INSERT); |
@@ -528,16 +524,16 @@ int onplay(char* file, int attr, int from) | |||
528 | context == CONTEXT_TREE || | 524 | context == CONTEXT_TREE || |
529 | context == CONTEXT_ID3DB) | 525 | context == CONTEXT_ID3DB) |
530 | { | 526 | { |
527 | items[i].desc = ID2P(LANG_PLAYLIST); | ||
528 | items[i].function = playlist_options; | ||
529 | i++; | ||
530 | |||
531 | if ((audio_status() & AUDIO_STATUS_PLAY)) | 531 | if ((audio_status() & AUDIO_STATUS_PLAY)) |
532 | { | 532 | { |
533 | items[i].desc = ID2P(LANG_BOOKMARK_MENU); | 533 | items[i].desc = ID2P(LANG_BOOKMARK_MENU); |
534 | items[i].function = bookmark_menu; | 534 | items[i].function = bookmark_menu; |
535 | i++; | 535 | i++; |
536 | } | 536 | } |
537 | |||
538 | items[i].desc = ID2P(LANG_PLAYLIST); | ||
539 | items[i].function = playlist_options; | ||
540 | i++; | ||
541 | } | 537 | } |
542 | 538 | ||
543 | if (file) | 539 | if (file) |