discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=8545fc08be5dec733a908ee599f4ebf5defed37c
commit 8545fc08be5dec733a908ee599f4ebf5defed37c Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Tue Aug 15 11:13:12 2017 -0400 capture zone for newly-added bryces based on name the last number is always the zone number --- src/bin/e_bryce.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index 83453e50a..2087e972d 100644 --- a/src/bin/e_bryce.c +++ b/src/bin/e_bryce.c @@ -1033,10 +1033,13 @@ E_API Evas_Object * e_bryce_add(Evas_Object *parent, const char *name, E_Gadget_Site_Orient orient, E_Gadget_Site_Anchor an) { Bryce *b; + const char *z; b = E_NEW(Bryce, 1); b->size = 48; b->name = eina_stringshare_add(name); + z = strrchr(name, '_'); + b->zone = strtoul(z + 1, NULL, 10); b->anchor = an; b->orient = orient; b->layer = DEFAULT_LAYER; --