discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e88823dd1b1ae1f7862abad92b9fc65bd7f90457

commit e88823dd1b1ae1f7862abad92b9fc65bd7f90457
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jan 25 12:36:21 2016 -0500

    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
---
 src/bin/e_shelf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index c80f0bd..41a021f 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -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);

-- 


Reply via email to