Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/python-efl
Dir : e17/proto/python-efl/python-evas/evas Modified Files: evas.c_evas_object.pxi Log Message: Fix top_right_set(), it was a copy of top_left_set() =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_object.pxi,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- evas.c_evas_object.pxi 8 Oct 2007 15:09:01 -0000 1.20 +++ evas.c_evas_object.pxi 18 Oct 2007 14:55:36 -0000 1.21 @@ -508,7 +508,9 @@ def top_right_set(self, int x, int y): "Set (x, y) of top-right corner." - evas_object_move(self.obj, x, y) + cdef int w + evas_object_geometry_get(self.obj, NULL, NULL, &w, NULL) + evas_object_move(self.obj, x - w, y) property top_right: def __get__(self): # replicated to avoid performance hit ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs