fix wrong part name 77/42877/1
authorJehun Lim <jehun.lim@samsung.com>
Fri, 3 Jul 2015 10:21:25 +0000 (19:21 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Fri, 3 Jul 2015 10:21:25 +0000 (19:21 +0900)
Change-Id: Ib7070ca23fe683282396e0972262f8f4c437449b
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
res/edc/widgets/gengrid.edc
src/layout/movie.c

index 789f9da..67e69eb 100644 (file)
@@ -89,7 +89,7 @@ group {
                        }
                }
                part {
-                       name: PART_SWALLOW_THUMBNAIL;
+                       name: PART_ELM_SWALLOW_THUMBNAIL;
                        type: SWALLOW;
                        scale: 1;
                        mouse_events: 1;
@@ -353,7 +353,7 @@ group {
                        name: "focus,in,anim";
                        action: STATE_SET "selected" 0.0;
                        target: "defaultbg";
-                       target: PART_SWALLOW_THUMBNAIL;
+                       target: PART_ELM_SWALLOW_THUMBNAIL;
                        target: "part_focus1";
                        target: "part_focus2";
                        target: "part_focus3";
@@ -381,7 +381,7 @@ group {
                program {
                        name: "focus,out,anim,3";
                        action: STATE_SET "default" 0.0;
-                       target: PART_SWALLOW_THUMBNAIL;
+                       target: PART_ELM_SWALLOW_THUMBNAIL;
                        target: "defaultbg";
                        target: "part_focus1";
                        target: "part_focus2";
index 4855617..8d4f587 100644 (file)
@@ -59,7 +59,7 @@ static char *_grid_text_get(void *data, Evas_Object *obj, const char *part)
 
        am = data;
 
-       if (!strcmp(part, "elm.text")) {
+       if (!strcmp(part, PART_ELM_TEXT_TITLE)) {
                info = app_media_get_info(am);
                if (!info) {
                        _ERR("failed to get media info");
@@ -84,7 +84,7 @@ static Evas_Object *_grid_content_get(void *data,
 
        am = data;
 
-       if (!strcmp(part, "elm.swallow.icon")) {
+       if (!strcmp(part, PART_ELM_SWALLOW_THUMBNAIL)) {
                image = elm_image_add(obj);
                if (!image) {
                        _ERR("failed to create image object");