}
static void
-_eval_top(Evas_Object *obj, Eina_Bool push)
+_eval_top(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
Eina_Bool animate=EINA_TRUE;
{
animate = EINA_FALSE;
}
- wd->top = ittop;
- o = wd->top->base;
- evas_object_show(o);
wd->oldtop = wd->top;
wd->top = ittop;
o = wd->top->base;
evas_object_show(o);
-
if (!animate)
edje_object_signal_emit(o, "elm,action,show,noanimate", "elm");
else if (wd->oldtop && wd->oldtop->popme)
edje_object_signal_emit(o, "elm,action,show", "elm");
else
edje_object_signal_emit(o, "elm,action,push", "elm");
-
- if(animate)
- {
- if(push)
- {
- edje_object_signal_emit(o, "elm,action,show,push", "elm");
- }
- else
- {
- edje_object_signal_emit(o, "elm,action,show,pop", "elm");
- }
- }
onshow = edje_object_data_get(o, "onshow");
if (onshow)
{
evas_object_event_callback_del_full
(sub, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, it);
evas_object_del(it->base);
- _eval_top(it->obj, EINA_FALSE);
+ _eval_top(it->obj);
free(it);
return;
}
edje_object_size_min_calc(it->base, &it->minw, &it->minh);
evas_object_show(it->content);
wd->stack = eina_list_append(wd->stack, it);
- _eval_top(obj, EINA_TRUE);
+ _eval_top(obj);
_sizing_eval(obj);
}
ll = ll->prev;
}
}
- _eval_top(it->obj, EINA_FALSE);
+ _eval_top(it->obj);
}
/**
{
wd->stack = eina_list_remove_list(wd->stack, l);
wd->stack = eina_list_append(wd->stack, it);
- _eval_top(obj, EINA_FALSE);
+ _eval_top(obj);
return;
}
}