Set %cs(Current Screen) to "Bookmark browser" when listing bookmarks from the Context Menu

Currently when you select list bookmarks from the context menu %cs returns
"Context Menu" when in the bookmark browser screen.  This change makes %cs
return "Bookmark browser" when listing bookmarks from the context menu, the
same as when you list recent bookmarks.  This change will make it possible
to determin that you are on a bookmark browser screen when skinning using
an sbs file.

Change-Id: I7fb93525fbafb5d14bba2ae5df7a78df908d09ae
Reviewed-on: http://gerrit.rockbox.org/169
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
This commit is contained in:
Osborne Jacobs 2012-03-02 22:34:14 -05:00 committed by Jonathan Gordon
parent 59e5a323f1
commit bcfa783100
2 changed files with 7 additions and 2 deletions

View file

@ -125,6 +125,9 @@ bool bookmark_create_menu(void)
/* ----------------------------------------------------------------------- */
bool bookmark_load_menu(void)
{
bool ret = false;
push_current_activity(ACTIVITY_BOOKMARKSLIST);
if (is_bookmarkable_state())
{
char* name = playlist_get_name(NULL, global_temp_buffer,
@ -135,12 +138,13 @@ bool bookmark_load_menu(void)
if (bookmark != NULL)
{
return play_bookmark(bookmark);
ret = play_bookmark(bookmark);
}
}
}
return false;
pop_current_activity();
return ret;
}
/* ----------------------------------------------------------------------- */

View file

@ -620,6 +620,7 @@ Cástor Muñoz
Albert Barca
Fukuda Takafumi
Dimitar Dimitrov
Osborne Jacobs
The libmad team
The wavpack team