Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_widget.c
Log Message:
work-around for the truncation bug in edje, which described on the dev-ml
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -3 -r1.166 -r1.167
--- ewl_widget.c 1 Jul 2008 10:11:25 -0000 1.166
+++ ewl_widget.c 25 Jul 2008 10:30:04 -0000 1.167
@@ -896,6 +896,14 @@
ewl_object_preferred_inner_size_set(EWL_OBJECT(w), (int)nw, (int)nh);
+ /* XXX: this is a work-around to let edje show the ... for a
+ * trucated text, if we changed the text.
+ *
+ * remove this lines, when the bug is fixed in edje!
+ */
+ evas_object_resize(w->theme_object, 0, 0);
+ evas_object_resize(w->theme_object, CURRENT_W(w), CURRENT_H(w));
+
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs