* call the orient function earlier, so that min size is respected

SVN revision: 37523
This commit is contained in:
Davide Andreoli 2008-11-06 00:20:42 +00:00
parent 0a4e971359
commit 110a56bded
1 changed files with 4 additions and 3 deletions

View File

@ -173,6 +173,10 @@ gadman_gadget_place(E_Config_Gadcon_Client *cf, int ontop)
evas_object_event_callback_add(gcc->o_frame, EVAS_CALLBACK_MOUSE_DOWN,
on_frame_click, gcc);
/* Call the client orientation function */
if (cc->func.orient)
cc->func.orient(gcc, gcc->cf->orient);
_apply_widget_position(gcc);
if (gcc->gadcon == Man->gc_top)
@ -180,9 +184,6 @@ gadman_gadget_place(E_Config_Gadcon_Client *cf, int ontop)
evas_object_show(gcc->o_frame);
/* Call the client orientation function */
if (cc->func.orient)
cc->func.orient(gcc, gcc->cf->orient);
return gcc;
}