From fb0c3a2086c7252fc33065fbfa960257b3ee44f5 Mon Sep 17 00:00:00 2001 From: Ravi Kiran K N Date: Tue, 11 Apr 2017 10:23:43 +0530 Subject: [PATCH] [UX spec] Reorder menu items Reorder ctx popup menu items in play view according to UX spec Change-Id: Ib409360014bedc2ebff00447fbb817a96bbb6771 Signed-off-by: Ravi Kiran K N --- playview/src/view/vp-play-normal-view.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/playview/src/view/vp-play-normal-view.c b/playview/src/view/vp-play-normal-view.c index 8b052a2..92c6089 100644 --- a/playview/src/view/vp-play-normal-view.c +++ b/playview/src/view/vp-play-normal-view.c @@ -5575,22 +5575,16 @@ static void __vp_normal_more_btn_clicked_cb(void *pUserData, case VIDEO_PLAY_TYPE_MYFILE: case VIDEO_PLAY_TYPE_OTHER: - /* Share via */ - elm_ctxpopup_item_append(pNormalView->pCtxPopup, - VP_PLAY_STRING_POPUP_SHARE, NULL, - __vp_normal_ctx_popup_share_cb, - (void *) pNormalView); - /* delete */ elm_ctxpopup_item_append(pNormalView->pCtxPopup, VP_PLAY_STRING_POPUP_DELETE, NULL, __vp_normal_ctx_popup_delete_cb, (void *) pNormalView); - /* Play speed */ + /* Share via */ elm_ctxpopup_item_append(pNormalView->pCtxPopup, - VP_PLAY_STRING_POPUP_PLAY_SPEED, NULL, - __vp_normal_ctx_popup_play_speed_cb, + VP_PLAY_STRING_POPUP_SHARE, NULL, + __vp_normal_ctx_popup_share_cb, (void *) pNormalView); /* Audio only */ @@ -5608,6 +5602,12 @@ static void __vp_normal_more_btn_clicked_cb(void *pUserData, __vp_normal_ctx_popup_audio_only_cb, (void *) pNormalView); + /* Play speed */ + elm_ctxpopup_item_append(pNormalView->pCtxPopup, + VP_PLAY_STRING_POPUP_PLAY_SPEED, NULL, + __vp_normal_ctx_popup_play_speed_cb, + (void *) pNormalView); + /* subtitles */ elm_ctxpopup_item_append(pNormalView->pCtxPopup, VP_PLAY_STRING_POPUP_SUBTITLE, NULL, -- 2.7.4