Merge branch 'master' into tizen 60/35660/1 accepted/tizen/tv/20150223.074315 submit/tizen_tv/20150223.070926
authorJuWan Kim <juwan.kim@samsung.com>
Mon, 23 Feb 2015 06:57:23 +0000 (15:57 +0900)
committerJuWan Kim <juwan.kim@samsung.com>
Mon, 23 Feb 2015 06:59:05 +0000 (15:59 +0900)
Signed-off-by: JuWan Kim <juwan.kim@samsung.com>
Change-Id: Icd1604105bd43bf0c703b227c3cc6490852e0535

src/views/BaseView/SortCtxPopup.cpp
src/views/BaseView/SourceCtxPopup.cpp

index 0145cb7..ba83457 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "Info.h"
 #include "CtxPopup.h"
+#include <app-res-defines.h>
 #include "SortCtxPopup.h"
 
 const char *sorttext[] = {
@@ -47,7 +48,7 @@ const char *sortbtnids[] = {
 void CSortCtxPopup::t_OnConfiguration(void)
 {
        t_SetList(sorttext, ARRAY_SIZE(sorttext), (int)CInfo::SortType(),
-                       CCtxPopup::TOPBTN_SORT,
+                       CCtxPopup::TOPBTN_SORT, sortbtnids,
                        POSITION_SORT_POPUP_X, POSITION_SORT_POPUP_Y,
                        FBR_STYLE_HOVER_ENTRY,
                        FBR_STYLE_HOVER_CTXPOPUP, FBR_STYLE_HOVER_CTXPOPUP, FBR_STYLE_HOVER_CTXPOPUP);
@@ -59,7 +60,7 @@ void CSortCtxPopup::t_OnBtnClicked(Evas_Object* obj, void* ev)
                return;
 
        int index = -1;
-       const char *id = (const char*)evas_object_data_get(obj, FBR_BTN_ID);
+       const char *id = (const char*)evas_object_data_get(obj, BTN_ID);
 
        if (!id)
                return;
index f05d03c..c5ea658 100644 (file)
@@ -25,6 +25,7 @@
 #include "CtxPopup.h"
 #include <MediaContentDbListener.h>
 #include <UsbConnectionListener.h>
+#include <app-res-defines.h>
 #include "SourceCtxPopup.h"
 
 const char *srcbtnids[] = {
@@ -50,7 +51,7 @@ void CSourceCtxPopup::t_OnConfiguration(void)
        usb.Destroy();
 
        t_SetList(sourcetext, size, (int)CInfo::SourceType(),
-                       CCtxPopup::TOPBTN_SOURCE,
+                       CCtxPopup::TOPBTN_SOURCE, srcbtnids,
                        POSITION_SOURCE_POPUP_X, POSITION_SOURCE_POPUP_Y,
                        FBR_STYLE_HOVER_CTXPOPUP,
                        FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY);
@@ -63,7 +64,7 @@ void CSourceCtxPopup::t_OnBtnClicked(Evas_Object* obj, void* ev)
                return;
 
        int index = -1;
-       const char *id = (const char*)evas_object_data_get(obj, FBR_BTN_ID);
+       const char *id = (const char*)evas_object_data_get(obj, BTN_ID);
 
        if (!id)
                return;