summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/action.h2
-rw-r--r--apps/gui/skin_engine/skin_parser.c5
-rw-r--r--apps/gui/wps.c15
3 files changed, 21 insertions, 1 deletions
diff --git a/apps/action.h b/apps/action.h
index e46e4a64b2..508d9a31a6 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -129,6 +129,8 @@ enum {
129 ACTION_WPS_QUICKSCREEN,/* optional */ 129 ACTION_WPS_QUICKSCREEN,/* optional */
130 ACTION_WPS_MENU, /*this should be the same as ACTION_STD_MENU */ 130 ACTION_WPS_MENU, /*this should be the same as ACTION_STD_MENU */
131 ACTION_WPS_VIEW_PLAYLIST, 131 ACTION_WPS_VIEW_PLAYLIST,
132 ACTION_WPS_LIST_BOOKMARKS,/* optional */
133 ACTION_WPS_CREATE_BOOKMARK,/* optional */
132 ACTION_WPS_REC, 134 ACTION_WPS_REC,
133#if 0 135#if 0
134 ACTION_WPSAB_SINGLE, /* This needs to be #defined in 136 ACTION_WPSAB_SINGLE, /* This needs to be #defined in
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 4e4b9d14d2..2d9d7cd807 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1287,7 +1287,10 @@ static const struct touchaction touchactions[] = {
1287 {"browse", ACTION_WPS_BROWSE }, 1287 {"browse", ACTION_WPS_BROWSE },
1288 {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, 1288 {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP },
1289 {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE }, 1289 {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE },
1290 {"pitch", ACTION_WPS_PITCHSCREEN}, {"playlist", ACTION_WPS_VIEW_PLAYLIST }, 1290 {"pitch", ACTION_WPS_PITCHSCREEN}, {"trackinfo", ACTION_WPS_ID3SCREEN },
1291 {"playlist", ACTION_WPS_VIEW_PLAYLIST },
1292 {"listbookmarks", ACTION_WPS_LIST_BOOKMARKS },
1293 {"createbookmark", ACTION_WPS_CREATE_BOOKMARK },
1291 1294
1292#if CONFIG_TUNER 1295#if CONFIG_TUNER
1293 /* FM screen actions */ 1296 /* FM screen actions */
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 1e48e80202..313ac2cd76 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -1042,6 +1042,21 @@ long gui_wps_show(void)
1042 exit = true; 1042 exit = true;
1043 break; 1043 break;
1044 1044
1045 case ACTION_WPS_LIST_BOOKMARKS:
1046 gwps_leave_wps();
1047 if (bookmark_load_menu() == BOOKMARK_USB_CONNECTED)
1048 {
1049 return GO_TO_ROOT;
1050 }
1051 restore = true;
1052 break;
1053
1054 case ACTION_WPS_CREATE_BOOKMARK:
1055 gwps_leave_wps();
1056 bookmark_create_menu();
1057 restore = true;
1058 break;
1059
1045 case ACTION_WPS_ID3SCREEN: 1060 case ACTION_WPS_ID3SCREEN:
1046 { 1061 {
1047 gwps_leave_wps(); 1062 gwps_leave_wps();