Enlightenment CVS committal
Author : moom
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_widget.c
Log Message:
* Fix a redraw problem (the toolbar in emphasis didn't get properly
redrawn when you switch from mini mode to full mode)
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_widget.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- etk_widget.c 31 Dec 2006 00:19:21 -0000 1.91
+++ etk_widget.c 31 Dec 2006 13:04:44 -0000 1.92
@@ -2465,8 +2465,8 @@
/* We create the content-object if the part ETK_WIDGET_CONTENT_PART
exists:
* the content-object is a smart object that will be swallowed in this
part, and
- * whose member-objects are the member-objects and the children's
smart-objects of the widget.
- * This way, we have a powerful and generic way to swallow children in
any types of widgets */
+ * whose member-objects are the member-objects and children's
smart-objects of the widget.
+ * This way, we have a powerful and generic way to swallow children in
any type of widgets */
if (edje_object_part_exists(widget->theme_object,
ETK_WIDGET_CONTENT_PART))
{
widget->content_object = _etk_widget_content_object_add(evas, widget);
@@ -3497,10 +3497,7 @@
evas_object_geometry_get(obj, &prev_w, &prev_h, NULL, NULL);
if ((prev_w != w || prev_h != h || widget->need_redraw) &&
widget->size_allocate)
- {
widget->size_allocate(widget, widget->inner_geometry);
- widget->need_redraw = ETK_FALSE;
- }
}
/* Called when the content-object of the widget is clipped */
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs