disable shelf shadows if "noshadow" data item exists in shelf theme

this used to be handled by the "shaped" flag back when shelves had their
own windows, but the handling for it was lost during the transition away from
the E18 compositor
This commit is contained in:
Mike Blumenkrantz 2016-01-25 12:36:21 -05:00
parent c637c70f1c
commit e88823dd1b
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, E_Layer laye
e_shelf_style_set(es, style);
evas_object_move(es->o_base, es->zone->x + es->x, es->zone->y + es->y);
if (layer == E_LAYER_DESKTOP)
if ((layer == E_LAYER_DESKTOP) || edje_object_data_get(es->o_base, "noshadow"))
type = E_COMP_OBJECT_TYPE_NONE;
es->comp_object = e_comp_object_util_add(es->o_base, type);
evas_object_event_callback_add(es->comp_object, EVAS_CALLBACK_HIDE, _e_shelf_hidden, es);