hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=a6dce8f8314c8ae2941e8402acaa07a2245ecc91

commit a6dce8f8314c8ae2941e8402acaa07a2245ecc91
Author: Jaehyun Cho <[email protected]>
Date:   Mon May 12 13:44:03 2014 +0900

    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
---
 src/lib/elm_map.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index ebf8fd7..abdc95e 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)
 EOLIAN static Eina_Bool
 _elm_map_elm_widget_theme_apply(Eo *obj, Elm_Map_Data *sd EINA_UNUSED)
 {
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
    Eina_Bool int_ret = EINA_FALSE;
    eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply());
    if (!int_ret) return EINA_FALSE;
 
+
+   elm_widget_theme_object_set
+      (obj, wd->resize_obj, "map", "base", elm_widget_style_get(obj));
+
    _sizing_eval(obj);
 
    return EINA_TRUE;

-- 


Reply via email to