only move new bryces to zone on create, not existing ones

this resolves an issue where not changing any position-related attrs
would stick the bryce in the wrong location until restart
This commit is contained in:
Mike Blumenkrantz 2017-02-24 14:15:42 -05:00
parent e7c2d30a85
commit a32f7119e2
1 changed files with 1 additions and 1 deletions

View File

@ -96,9 +96,9 @@ _editor_bryce_add(Evas_Object *obj)
e_gadget_site_gadget_add(site, "Start", 0);
e_gadget_site_gadget_add(site, "Digital Clock", 0);
e_gadget_site_gadget_add(site, "Wireless", 0);
evas_object_move(b, zone->x, zone->y);
}
evas_object_move(b, zone->x, zone->y);
e_gadget_site_gravity_set(site, gravity);
e_bryce_style_set(b, bi->style);
e_bryce_autohide_set(b, bi->autohide);