#define RELATED_TABLE_MAX_COL 2
#define CTXT_MENU_BTN_SIZE 4
#define SORT_COUNT 2
-#define POS_CTGR_POPUP_X 1334
-#define POS_CTGR_POPUP_Y 210
+#define POS_CTGR_POPUP_X 1650
+#define POS_CTGR_POPUP_Y 155
#define SIZE_LABEL_WIDTH 103
#define SIZE_STR 256
#define SIZE_TABLE_PAD_X 27
Evas_Object *icon, *check;
const char *category, *icon_path;
- if (item || idx <= 0)
+ if (!item || idx <= 0)
return false;
icon_path = app_content_category_get_icon(idx);
if (!item)
goto err;
- if (i == 0) {
+ elm_layout_file_set(item, EDJEFILE, GRP_CATEGORY);
+
+ if (i == 0)
fitem = item;
- elm_layout_file_set(item, EDJEFILE, GRP_CATEGORY_TOP);
- } else if (i == (int)g_list_length(l) - 1) {
- elm_layout_file_set(item, EDJEFILE, GRP_CATEGORY_BTM);
- } else {
- elm_layout_file_set(item, EDJEFILE, GRP_CATEGORY);
- }
idx = GPOINTER_TO_INT(g_list_nth_data(l, i));
return;
err:
+ _ERR("fail to make category item object.");
evas_object_del(popup);
return;