summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_check.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-11-16 12:51:53 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-11-16 12:51:53 +0000
commitd647d2d1a5e061d9dc327539fc3339088249b1a0 (patch)
tree3578c2fbbb7e267955b11e69b6e15fa6aabc644c /src/edje_externals/elm_check.c
parent53e9ac8e979e0dc6994cd7853623e0822546cc12 (diff)
elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names but in modified version, the part names chaned to simpler meaning names to use. i.e for button elm_object_content_part_set(button, "elm.swallow.icon", icon); -> elm_object_content_part_set(button, "icon", icon); SVN revision: 65295
Diffstat (limited to 'src/edje_externals/elm_check.c')
-rw-r--r--src/edje_externals/elm_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edje_externals/elm_check.c b/src/edje_externals/elm_check.c
index 0c3fd0ab4..d150e132b 100644
--- a/src/edje_externals/elm_check.c
+++ b/src/edje_externals/elm_check.c
@@ -21,7 +21,7 @@ external_check_state_set(void *data __UNUSED__, Evas_Object *obj, const void *fr
21 if (p->label) 21 if (p->label)
22 elm_object_text_set(obj, p->label); 22 elm_object_text_set(obj, p->label);
23 if (p->icon) 23 if (p->icon)
24 elm_object_content_set(obj, p->icon); 24 elm_object_content_part_set(obj, "icon", p->icon);
25 if (p->state_exists) 25 if (p->state_exists)
26 elm_check_state_set(obj, p->state); 26 elm_check_state_set(obj, p->state);
27} 27}
@@ -43,7 +43,7 @@ external_check_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ext
43 { 43 {
44 Evas_Object *icon = external_common_param_icon_get(obj, param); 44 Evas_Object *icon = external_common_param_icon_get(obj, param);
45 if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE; 45 if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE;
46 elm_object_content_set(obj, icon); 46 elm_object_content_part_set(obj, "icon", icon);
47 return EINA_TRUE; 47 return EINA_TRUE;
48 } 48 }
49 } 49 }