discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 5919d6ae7c94df09eafe818cff75136708491ef7
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 3198b83..c1b5ca6 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
 
    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