always show popup content on content set

this change prevents erroneous calls to the comp injected object show handler in some cases, which would cause unnecessary recalcs and strange object movements


SVN revision: 84281
This commit is contained in:
Mike Blumenkrantz 2013-02-21 12:48:47 +00:00
parent 0ebb887d64
commit 7ffec7e968
1 changed files with 2 additions and 4 deletions

View File

@ -178,13 +178,11 @@ e_popup_content_set(E_Popup *pop, Evas_Object *obj)
evas_object_data_set(obj, "eobj", pop);
evas_object_move(obj, pop->zone->x + pop->x, pop->zone->y + pop->y);
evas_object_resize(obj, pop->w, pop->h);
evas_object_show(obj);
e_popup_layer_set(pop, pop->comp_layer, pop->layer);
e_popup_ignore_events_set(pop, pop->ignore_events);
if (pop->visible)
{
e_comp_win_moveresize(pop->cw, pop->zone->x + pop->x, pop->zone->y + pop->y, pop->w, pop->h);
evas_object_show(obj);
}
e_comp_win_moveresize(pop->cw, pop->zone->x + pop->x, pop->zone->y + pop->y, pop->w, pop->h);
}
EAPI void