diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-09 09:00:42 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-09 09:00:42 +0000 |
| commit | edf06dc0b2d7a8cc015f1b50d3994f861efd05aa (patch) | |
| tree | 58fa50408f91637af3789975c9965f97b6b11588 /apps | |
| parent | 10e24d22c40c294d224ff772d3e48d3d1ff3d8b8 (diff) | |
| download | rockbox-edf06dc0b2d7a8cc015f1b50d3994f861efd05aa.zip rockbox-edf06dc0b2d7a8cc015f1b50d3994f861efd05aa.tar.gz rockbox-edf06dc0b2d7a8cc015f1b50d3994f861efd05aa.tar.bz2 rockbox-edf06dc0b2d7a8cc015f1b50d3994f861efd05aa.tar.xz | |
a few more HAVE_PICTUREFLOW_INTEGRATION
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26717 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/onplay.c | 4 | ||||
| -rw-r--r-- | apps/settings_list.c | 19 |
2 files changed, 19 insertions, 4 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index b2a540e..915f48e 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -929,6 +929,8 @@ static int ratingitem_callback(int action,const struct menu_item_ex *this_item) MENUITEM_FUNCTION(rating_item, 0, ID2P(LANG_MENU_SET_RATING), set_rating_inline, NULL, ratingitem_callback, Icon_Questionmark); +#endif +#ifdef HAVE_PICTUREFLOW_INTEGRATION MENUITEM_RETURNVALUE(pictureflow_item, ID2P(LANG_ONPLAY_PICTUREFLOW), GO_TO_PICTUREFLOW, NULL, Icon_NOICON); #endif @@ -1134,7 +1136,7 @@ MAKE_ONPLAYMENU( wps_onplay_menu, ID2P(LANG_ONPLAY_MENU_TITLE), &rating_item, #endif &bookmark_menu, -#ifdef HAVE_TAGCACHE +#ifdef HAVE_PICTUREFLOW_INTEGRATION &pictureflow_item, #endif &browse_id3_item, &list_viewers_item, diff --git a/apps/settings_list.c b/apps/settings_list.c index 089fd30..c125fbc 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1749,10 +1749,23 @@ const struct settings_list settings[] = { #ifdef HAVE_HOTKEY TABLE_SETTING(F_ALLOW_ARBITRARY_VALS, hotkey_wps, LANG_HOTKEY_WPS, HOTKEY_VIEW_PLAYLIST, "hotkey wps", - "off,view playlist,show track info,pitchscreen,open with,delete,pictureflow", - UNIT_INT, hotkey_formatter, hotkey_getlang, NULL, 7, HOTKEY_OFF, + "off,view playlist,show track info,pitchscreen,open with,delete" +#ifdef HAVE_PICTUREFLOW_INTEGRATION + ",pictureflow" +#endif + ,UNIT_INT, hotkey_formatter, hotkey_getlang, NULL, +#ifdef HAVE_PICTUREFLOW_INTEGRATION + 7, +#else + 6, +#endif + HOTKEY_OFF, HOTKEY_VIEW_PLAYLIST, HOTKEY_SHOW_TRACK_INFO, HOTKEY_PITCHSCREEN, - HOTKEY_OPEN_WITH, HOTKEY_DELETE, HOTKEY_PICTUREFLOW), + HOTKEY_OPEN_WITH, HOTKEY_DELETE +#ifdef HAVE_PICTUREFLOW_INTEGRATION + , HOTKEY_PICTUREFLOW +#endif + ), TABLE_SETTING(F_ALLOW_ARBITRARY_VALS, hotkey_tree, LANG_HOTKEY_FILE_BROWSER, HOTKEY_OFF, "hotkey tree", "off,open with,delete,insert,insert shuffled", |