apply shadow states during theme setup

T885
This commit is contained in:
Mike Blumenkrantz 2014-02-10 09:12:43 -05:00
parent e105c10d80
commit a78d98700a
1 changed files with 6 additions and 3 deletions

View File

@ -497,7 +497,12 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
}
else
edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
{
if (no_shadow)
edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
else
_e_comp_object_shadow(cw);
}
if (focus || cw->ec->focused)
e_comp_object_signal_emit(cw->smart_obj, "e,state,focused", "e");
@ -2638,8 +2643,6 @@ e_comp_object_frame_theme_set(Evas_Object *obj, const char *name)
if (cw->frame_name)
edje_object_part_text_set(o, "e.text.title", cw->frame_name);
_e_comp_object_shadow(cw);
if (pbg)
{
if (cw->frame_icon)