mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
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:
parent
59e5a323f1
commit
bcfa783100
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
|
@ -620,6 +620,7 @@ Cástor Muñoz
|
|||
Albert Barca
|
||||
Fukuda Takafumi
|
||||
Dimitar Dimitrov
|
||||
Osborne Jacobs
|
||||
|
||||
The libmad team
|
||||
The wavpack team
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue