Bugfix: e syscon: Use correct coordinates to have the dialog centered on multiple zones.

This commit is contained in:
Chidambar Zinnoury 2014-04-21 23:04:47 +02:00
parent 36a4948085
commit f193f90ce8
1 changed files with 2 additions and 2 deletions

View File

@ -264,10 +264,10 @@ e_syscon_show(E_Zone *zone, const char *defact)
w = mw;
if (w > zw) w = zw;
x = zx - zone->x + (zw - w) / 2;
x = zx + (zw - w) / 2;
h = mh;
if (h > zh) h = zh;
y = zy - zone->y + (zh - h) / 2;
y = zy + (zh - h) / 2;
evas_object_geometry_set(popup, x, y, w, h);