From 110a56bded760dd131ad84a3471e66f1c72d14d4 Mon Sep 17 00:00:00 2001 From: Davide Andreoli Date: Thu, 6 Nov 2008 00:20:42 +0000 Subject: [PATCH] * call the orient function earlier, so that min size is respected SVN revision: 37523 --- src/modules/gadman/e_mod_gadman.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index 8ac2d53e0..19881aa0e 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -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; }