summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_panes.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-10-30 15:50:14 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-10-30 15:50:14 +0000
commit190c3f9f8aea8cbf221f7447b7c9a0705f027e5e (patch)
treed9416595e2bb63c59438cbb37a83236120f81dab /src/edje_externals/elm_panes.c
parenta4f63ed5ee1f9e8f2c76e59886fa0805093d5324 (diff)
elementary/panes - content_part_set/get/unset
SVN revision: 64524
Diffstat (limited to 'src/edje_externals/elm_panes.c')
-rw-r--r--src/edje_externals/elm_panes.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/edje_externals/elm_panes.c b/src/edje_externals/elm_panes.c
index 9ff569b2a..1a7a8dfb1 100644
--- a/src/edje_externals/elm_panes.c
+++ b/src/edje_externals/elm_panes.c
@@ -27,10 +27,10 @@ static void external_panes_state_set(void *data __UNUSED__,
27 else return; 27 else return;
28 28
29 if (p->content_left) 29 if (p->content_left)
30 elm_panes_content_left_set(obj, p->content_left); 30 elm_object_content_part_set(obj, ELM_PANES_CONTENT_LEFT, p->content_left);
31 31
32 if (p->content_right) 32 if (p->content_right)
33 elm_panes_content_right_set(obj, p->content_right); 33 elm_object_content_part_set(obj, ELM_PANES_CONTENT_RIGHT, p->content_right);
34 34
35 if (p->is_left_size) 35 if (p->is_left_size)
36 elm_panes_content_left_size_set(obj, p->left_size); 36 elm_panes_content_left_size_set(obj, p->left_size);
@@ -51,7 +51,7 @@ static Eina_Bool external_panes_param_set(void *data __UNUSED__,
51 Evas_Object *content = external_common_param_edje_object_get(obj, param); 51 Evas_Object *content = external_common_param_edje_object_get(obj, param);
52 if ((strcmp(param->s, "")) && (!content)) 52 if ((strcmp(param->s, "")) && (!content))
53 return EINA_FALSE; 53 return EINA_FALSE;
54 elm_panes_content_left_set(obj, content); 54 elm_object_content_part_set(obj, ELM_PANES_CONTENT_LEFT, content);
55 return EINA_TRUE; 55 return EINA_TRUE;
56 } 56 }
57 else if ((!strcmp(param->name, "content right")) 57 else if ((!strcmp(param->name, "content right"))
@@ -60,7 +60,7 @@ static Eina_Bool external_panes_param_set(void *data __UNUSED__,
60 Evas_Object *content = external_common_param_edje_object_get(obj, param); 60 Evas_Object *content = external_common_param_edje_object_get(obj, param);
61 if ((strcmp(param->s, "")) && (!content)) 61 if ((strcmp(param->s, "")) && (!content))
62 return EINA_FALSE; 62 return EINA_FALSE;
63 elm_panes_content_right_set(obj, content); 63 elm_object_content_part_set(obj, ELM_PANES_CONTENT_RIGHT, content);
64 return EINA_TRUE; 64 return EINA_TRUE;
65 } 65 }
66 else if ((!strcmp(param->name, "horizontal")) 66 else if ((!strcmp(param->name, "horizontal"))
@@ -170,9 +170,9 @@ external_panes_content_get(void *data __UNUSED__, const Evas_Object *obj,
170 const char *content) 170 const char *content)
171{ 171{
172 if (!strcmp(content, "left")) 172 if (!strcmp(content, "left"))
173 return elm_panes_content_left_get(obj); 173 return elm_object_content_part_get(obj, ELM_PANES_CONTENT_LEFT);
174 else if (!strcmp(content, "right")) 174 else if (!strcmp(content, "right"))
175 return elm_panes_content_right_get(obj); 175 return elm_object_content_part_get(obj, ELM_PANES_CONTENT_RIGHT);
176 176
177 ERR("unknown content '%s'", content); 177 ERR("unknown content '%s'", content);
178 178