diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-08-07 08:39:56 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-08-07 08:39:56 +0000 |
| commit | 835683b442f6d743318d2ab85b0ee99cbe9b3096 (patch) | |
| tree | a9ae4bfdc1613a9a9b1cd6ec54f8b85cee9f8dac /apps/menus | |
| parent | a668072d9eb4d22f63378f35dbce1e533a70dd9b (diff) | |
| download | rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.zip rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.tar.gz rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.tar.bz2 rockbox-835683b442f6d743318d2ab85b0ee99cbe9b3096.tar.xz | |
%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/menus')
| -rw-r--r-- | apps/menus/time_menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index b4ed207..92bb72f 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c @@ -254,6 +254,8 @@ int time_screen(void* ignored) int i, nb_lines, font_h, ret; menu_was_pressed = false; + push_current_activity(ACTIVITY_TIMEDATESCREEN); + FOR_NB_SCREENS(i) { viewport_set_defaults(&clock_vps[i], i); @@ -283,6 +285,7 @@ int time_screen(void* ignored) } ret = do_menu(&time_menu, NULL, menu, false); + pop_current_activity(); /* see comments above in the button callback */ if (!menu_was_pressed && ret == GO_TO_PREVIOUS) return 0; |