summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-25 12:36:21 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:38:48 -0500
commit5919d6ae7c94df09eafe818cff75136708491ef7 (patch)
tree28387a3563a60d2fa0fd4a806133db3d3ee3816c
parent820a70e71d8386a14dc6dc5f2c46f02f31f36744 (diff)
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
-rw-r--r--src/bin/e_shelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index 3198b8358..c1b5ca689 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -252,7 +252,7 @@ e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, E_Layer laye
252 252
253 e_shelf_style_set(es, style); 253 e_shelf_style_set(es, style);
254 evas_object_move(es->o_base, es->zone->x + es->x, es->zone->y + es->y); 254 evas_object_move(es->o_base, es->zone->x + es->x, es->zone->y + es->y);
255 if (layer == E_LAYER_DESKTOP) 255 if ((layer == E_LAYER_DESKTOP) || edje_object_data_get(es->o_base, "noshadow"))
256 type = E_COMP_OBJECT_TYPE_NONE; 256 type = E_COMP_OBJECT_TYPE_NONE;
257 es->comp_object = e_comp_object_util_add(es->o_base, type); 257 es->comp_object = e_comp_object_util_add(es->o_base, type);
258 evas_object_event_callback_add(es->comp_object, EVAS_CALLBACK_HIDE, _e_shelf_hidden, es); 258 evas_object_event_callback_add(es->comp_object, EVAS_CALLBACK_HIDE, _e_shelf_hidden, es);