summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-08-07 08:39:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-08-07 08:39:56 +0000
commit835683b442f6d743318d2ab85b0ee99cbe9b3096 (patch)
treea9ae4bfdc1613a9a9b1cd6ec54f8b85cee9f8dac /apps/playlist_viewer.c
parenta668072d9eb4d22f63378f35dbce1e533a70dd9b (diff)
downloadrockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.tar.gz
rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.tar.bz2
rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.zip
%cs (current screen) changes:
* Every top level menu item now has a different screen number * Playlist viewer and Playlist Catalogue browsers no longer share the same number git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 940a6d77dc..803fba9765 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -640,6 +640,7 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename)
if (!playlist_viewer_init(&viewer, filename, false))
goto exit;
+ push_current_activity(ACTIVITY_PLAYLISTVIEWER);
gui_synclist_init(&playlist_lists, playlist_callback_name,
&viewer, false, 1, NULL);
gui_synclist_set_voice_callback(&playlist_lists, playlist_callback_voice);
@@ -806,6 +807,7 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename)
}
exit:
+ pop_current_activity();
if (viewer.playlist)
{
if(dirty && yesno_pop(ID2P(LANG_SAVE_CHANGES)))