Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_attach.c Log Message: place tooltips correctly, the size is still too small after the first time =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_attach.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- ewl_attach.c 11 Sep 2006 04:54:31 -0000 1.30 +++ ewl_attach.c 20 Sep 2006 22:21:31 -0000 1.31 @@ -683,7 +683,11 @@ ewl_window_raise(EWL_WINDOW(ewl_attach_tooltip->win)); #endif /* XXX this should really be in it's own window */ - ewl_attach_tooltip->win = ewl_hbox_new(); + ewl_attach_tooltip->win = ewl_floater_new(); + ewl_box_orientation_set(EWL_BOX(ewl_attach_tooltip->win), + EWL_ORIENTATION_HORIZONTAL); + ewl_floater_follow_set(EWL_FLOATER(ewl_attach_tooltip->win), + EWL_WIDGET(emb)); ewl_attach_tooltip->embed = EWL_WIDGET(emb); /* @@ -755,7 +759,7 @@ ewl_widget_show(o); } - ewl_object_position_request(EWL_OBJECT(ewl_attach_tooltip->win), + ewl_floater_position_set(EWL_FLOATER(ewl_attach_tooltip->win), ewl_attach_tooltip->x, ewl_attach_tooltip->y); ewl_widget_show(ewl_attach_tooltip->win); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs