Backport: eca3475 :: Fix incorrect monitor position text on some startup cases.

When we call "grid_set" (as a result of the grid object moving or
resizing), we should update the monitor position text.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
Christopher Michael 2013-02-27 12:01:25 +00:00 committed by Deon Thomas
parent fb124fe454
commit 14a8acad61
1 changed files with 6 additions and 0 deletions

View File

@ -399,6 +399,12 @@ e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Eva
sd->grid.y = gy;
sd->grid.w = gw;
sd->grid.h = gh;
/* set monitor position text */
_e_smart_monitor_position_set(sd, sd->current.x, sd->current.y);
evas_object_grid_pack(sd->grid.obj, obj, sd->current.x,
sd->current.y, sd->current.w, sd->current.h);
}
void