Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (wd->stdicon)
- _elm_theme_object_icon_set(obj, wd->img, wd->stdicon, "default");
+ _elm_theme_object_icon_set(obj, wd->img, wd->stdicon, elm_widget_style_get(obj));
_sizing_eval(obj);
}
_theme_hook(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
+ const char *style = elm_widget_style_get(obj);
if (!wd) return;
- if(wd->horizontal)
- _elm_theme_object_set(obj, wd->panes, "panes", "horizontal", "default");
+ if (wd->horizontal)
+ _elm_theme_object_set(obj, wd->panes, "panes", "horizontal", style);
else
- _elm_theme_object_set(obj, wd->panes, "panes", "vertical", "default");
+ _elm_theme_object_set(obj, wd->panes, "panes", "vertical", style);
- if(wd->contents.left)
- edje_object_part_swallow(wd->panes, "elm.swallow.left", wd->contents.right);
- if(wd->contents.right)
- edje_object_part_swallow(wd->panes, "elm.swallow.right", wd->contents.right);
+ if (wd->contents.left)
+ edje_object_part_swallow(wd->panes, "elm.swallow.left", wd->contents.right);
+ if (wd->contents.right)
+ edje_object_part_swallow(wd->panes, "elm.swallow.right", wd->contents.right);
edje_object_scale_set(wd->panes, elm_widget_scale_get(obj) *
_elm_config->scale);
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- _elm_theme_object_set(obj, wd->slideshow, "slideshow", "base", "default");
+ _elm_theme_object_set(obj, wd->slideshow, "slideshow", "base", elm_widget_style_get(obj));
edje_object_scale_set(wd->slideshow, elm_widget_scale_get(obj) *
_elm_config->scale);
_sizing_eval(obj);