mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Rename the NO_CONTEXT flag to NO_CONTEXT_MENU so that the name more clearly conveys what the flag does
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28837 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e6b4d8fdee
commit
794bda72cf
3 changed files with 5 additions and 5 deletions
|
@ -119,7 +119,7 @@ static int display_playlists(char* playlist, bool view)
|
||||||
int result = -1;
|
int result = -1;
|
||||||
|
|
||||||
browse_context_init(&browse, SHOW_M3U,
|
browse_context_init(&browse, SHOW_M3U,
|
||||||
BROWSE_SELECTONLY|(view? 0: BROWSE_NO_CONTEXT),
|
BROWSE_SELECTONLY|(view? 0: BROWSE_NO_CONTEXT_MENU),
|
||||||
str(LANG_CATALOG), NOICON,
|
str(LANG_CATALOG), NOICON,
|
||||||
playlist_dir, most_recent_playlist);
|
playlist_dir, most_recent_playlist);
|
||||||
|
|
||||||
|
|
|
@ -783,7 +783,7 @@ static int dirbrowse(void)
|
||||||
int onplay_result;
|
int onplay_result;
|
||||||
int attr = 0;
|
int attr = 0;
|
||||||
|
|
||||||
if (tc.browse->flags & BROWSE_NO_CONTEXT)
|
if (tc.browse->flags & BROWSE_NO_CONTEXT_MENU)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if(!numentries)
|
if(!numentries)
|
||||||
|
|
|
@ -33,9 +33,9 @@ struct entry {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */
|
#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */
|
||||||
#define BROWSE_NO_CONTEXT 0x0002 /* disable context menu */
|
#define BROWSE_NO_CONTEXT_MENU 0x0002 /* disable context menu */
|
||||||
#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */
|
#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */
|
||||||
|
|
||||||
struct tree_context;
|
struct tree_context;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue