elc_combobox: fix theme and style set for combobox
authorVitalii Vorobiov <vi.vorobiov@samsung.com>
Mon, 4 Jul 2016 14:53:33 +0000 (17:53 +0300)
committerVitalii Vorobiov <vi.vorobiov@samsung.com>
Mon, 4 Jul 2016 14:54:17 +0000 (17:54 +0300)
@fix

src/lib/elementary/elc_combobox.c

index 07d4e20..c7f5ce0 100644 (file)
@@ -79,13 +79,18 @@ _elm_combobox_elm_widget_theme_apply(Eo *obj, Elm_Combobox_Data *sd)
    mirrored = elm_widget_mirrored_get(obj);
 
    if (sd->hover)
-     elm_widget_mirrored_set(sd->hover, mirrored);
+     {
+        elm_widget_mirrored_set(sd->hover, mirrored);
+        elm_widget_style_set(sd->hover, buf);
+     }
 
    elm_widget_mirrored_set(sd->genlist, mirrored);
    elm_widget_mirrored_set(sd->entry, mirrored);
-   eina_stringshare_del(style);
 
-   elm_combobox_hover_end(obj);
+   elm_widget_style_set(sd->genlist, buf);
+   elm_widget_style_set(sd->entry, buf);
+
+   eina_stringshare_del(style);
 
    return int_ret;
 }