discomfitor pushed a commit to branch master.

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

commit a32f7119e268a4f7d6c2c8e4fb1b97e8fa35d083
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 24 14:15:42 2017 -0500

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

diff --git a/src/bin/e_bryce_editor.c b/src/bin/e_bryce_editor.c
index e638395..8ac6af7 100644
--- a/src/bin/e_bryce_editor.c
+++ b/src/bin/e_bryce_editor.c
@@ -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);

-- 


Reply via email to