non-client comp object creation checks "noshadow" edje flag on passed objects

returns theme functionality from e17
This commit is contained in:
Mike Blumenkrantz 2014-09-03 09:45:20 -04:00
parent 1e51983dc1
commit 5733e7b3f7
1 changed files with 1 additions and 1 deletions

View File

@ -2343,7 +2343,7 @@ e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type)
ok = e_theme_edje_object_set(o, "base/theme/comp", "e/comp/frame/default");
break;
}
if (shadow)
if (shadow && (e_util_strcmp(evas_object_type_get(obj), "edje") || (!edje_object_data_get(obj, "noshadow"))))
edje_object_signal_emit(o, "e,state,shadow,on", "e");
else
edje_object_signal_emit(o, "e,state,shadow,off", "e");