make nocomp-skipable objects not require shelf

This commit is contained in:
Mike Blumenkrantz 2014-07-30 14:23:25 -04:00
parent 858504c69f
commit 11ec0ea86b
2 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,7 @@ _e_comp_visible_object_is(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coo
return _e_comp_visible_object_clip_is(o);
}
eina_list_free(children);
return !evas_object_data_get(o, "E_Shelf");
return !!evas_object_data_get(o, "comp_skip");
}
}
eina_list_free(children);

View File

@ -232,6 +232,7 @@ e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, E_Layer laye
type = E_COMP_OBJECT_TYPE_NONE;
es->comp_object = e_comp_object_util_add(es->o_base, type);
evas_object_data_set(es->comp_object, "E_Shelf", es);
evas_object_data_set(es->comp_object, "comp_skip", (void*)1);
evas_object_name_set(es->comp_object, es->name);
evas_object_layer_set(es->comp_object, layer);
evas_object_lower(es->comp_object);