summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-08-05 00:47:11 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-08-05 00:47:11 +0000
commite918b7b9734ff3e45c19b6d1f7183dc176dfb205 (patch)
tree2d419cc7a010d92c090a03c9514b97847ca24021 /apps/onplay.c
parentc027dc20be013dc065d8e847f9048c39606e183d (diff)
downloadrockbox-e918b7b9734ff3e45c19b6d1f7183dc176dfb205.tar.gz
rockbox-e918b7b9734ff3e45c19b6d1f7183dc176dfb205.tar.bz2
rockbox-e918b7b9734ff3e45c19b6d1f7183dc176dfb205.zip
Add a %cs item for the context menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30258 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index da06f937b6..03981c6310 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1347,12 +1347,15 @@ int onplay(char* file, int attr, int from, bool hotkey)
#else
(void)hotkey;
#endif
+
+ push_current_activity(ACTIVITY_CONTEXTMENU);
if (context == CONTEXT_WPS)
menu = &wps_onplay_menu;
else
menu = &tree_onplay_menu;
menu_selection = do_menu(menu, NULL, NULL, false);
-
+ pop_current_activity();
+
switch (menu_selection)
{
case GO_TO_WPS: