mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Shortcuts Menu Update
Change Browser shortcut to the plugin icon drop back into WPS on opx return allow same action to exit shortcut menu as entered -- might be problematic Change-Id: Id7013a514c8e8862ee1da44b033d10b7519e9127
This commit is contained in:
parent
c9e8d96e77
commit
13178d23b8
3 changed files with 16 additions and 1 deletions
|
@ -425,6 +425,8 @@ static int shortcut_menu_get_action(int action, struct gui_synclist *lists)
|
|||
(void)lists;
|
||||
if (action == ACTION_STD_OK)
|
||||
return ACTION_STD_CANCEL;
|
||||
else if (action == ACTION_STD_QUICKSCREEN && action != ACTION_STD_CONTEXT)
|
||||
return ACTION_STD_CANCEL;
|
||||
else if (action == ACTION_STD_CONTEXT)
|
||||
{
|
||||
int selection = gui_synclist_get_sel_pos(lists);
|
||||
|
@ -459,7 +461,7 @@ static enum themable_icons shortcut_menu_get_icon(int selected_item, void * data
|
|||
case SHORTCUT_FILE:
|
||||
return filetype_get_icon(filetype_get_attr(sc->u.path));
|
||||
case SHORTCUT_BROWSER:
|
||||
return Icon_Folder;
|
||||
return Icon_Plugin;
|
||||
case SHORTCUT_SETTING:
|
||||
return Icon_Menu_setting;
|
||||
case SHORTCUT_DEBUGITEM:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue