hermet pushed a commit to branch master.

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

commit 35dfc13e38c02fd30e55898eb871f6986804c498
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Thu Apr 23 11:05:31 2015 +0900

    elm_multibuttonentry: change theme_set API to provide full widget theming
    
    Summary:
    While setting theme currently changes style and theme to all button and
    whole multibuttonentry object, it doesn't change few other parts of this 
object.
    Part are, for examples, "guidetext", "label" and "closedbutton".
    
    Fixing this sad mistake leads to be able to create different styles for such
    wonderful widget.
    
    @fix
    
    Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
    
    Reviewed By: Hermet
    
    Subscribers: NikaWhite
    
    Differential Revision: https://phab.enlightenment.org/D2407
---
 src/lib/elc_multibuttonentry.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 797008a..1300c8b 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -86,6 +86,16 @@ _elm_multibuttonentry_elm_widget_theme_apply(Eo *obj, 
Elm_Multibuttonentry_Data
         elm_object_scale_set(VIEW(item), elm_widget_scale_get(obj) * 
elm_config_scale_get());
      }
 
+   elm_widget_theme_object_set
+      (obj, sd->label, "multibuttonentry", "label",
+       elm_widget_style_get(obj));
+   elm_widget_theme_object_set
+      (obj, sd->end, "multibuttonentry", "closedbutton",
+       elm_widget_style_get(obj));
+   elm_widget_theme_object_set
+      (obj,sd->guide_text, "multibuttonentry", "guidetext",
+       elm_widget_style_get(obj));
+
    elm_layout_sizing_eval(obj);
 
    return EINA_TRUE;

-- 


Reply via email to