summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2014-05-12 13:44:03 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-05-12 13:50:38 +0900
commita6dce8f8314c8ae2941e8402acaa07a2245ecc91 (patch)
treed05a73e9fcf3487771560a73aa52ebb43269643d
parent34933d88d5f371fa9c840bc1cc6fb67cba380e89 (diff)
elm_map: Fix to support customized style for elm_map
Summary: Load a map theme with a style to support customized style @fix Reviewers: Hermet Reviewed By: Hermet CC: seoz Differential Revision: https://phab.enlightenment.org/D845
-rw-r--r--src/lib/elm_map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index ebf8fd723..abdc95ea7 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -3806,10 +3806,15 @@ _elm_map_pan_class_constructor(Eo_Class *klass)
3806EOLIAN static Eina_Bool 3806EOLIAN static Eina_Bool
3807_elm_map_elm_widget_theme_apply(Eo *obj, Elm_Map_Data *sd EINA_UNUSED) 3807_elm_map_elm_widget_theme_apply(Eo *obj, Elm_Map_Data *sd EINA_UNUSED)
3808{ 3808{
3809 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
3809 Eina_Bool int_ret = EINA_FALSE; 3810 Eina_Bool int_ret = EINA_FALSE;
3810 eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply()); 3811 eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply());
3811 if (!int_ret) return EINA_FALSE; 3812 if (!int_ret) return EINA_FALSE;
3812 3813
3814
3815 elm_widget_theme_object_set
3816 (obj, wd->resize_obj, "map", "base", elm_widget_style_get(obj));
3817
3813 _sizing_eval(obj); 3818 _sizing_eval(obj);
3814 3819
3815 return EINA_TRUE; 3820 return EINA_TRUE;