Modification due to the change of CCtxPopup
[profile/tv/apps/native/filebrowser.git] / src / views / BaseView / SourceCtxPopup.cpp
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;