Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_container.c ewl_menu_base.c
Log Message:
* Trigger the container hide callback for any child removed that is visible.
* Set an appearance for the menu base that inherits from menu item.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_container.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- ewl_container.c 19 Aug 2004 02:44:01 -0000 1.75
+++ ewl_container.c 22 Aug 2004 04:50:28 -0000 1.76
@@ -300,6 +300,8 @@
* Remove the child from the parent and set the childs parent to NULL
*/
ecore_list_remove(pc->children);
+ if (VISIBLE(child))
+ ewl_container_child_hide_call(pc, child);
ewl_container_child_remove_call(pc, child);
if (ecore_list_is_empty(pc->children) && pc->clip_box)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_menu_base.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_menu_base.c 18 Aug 2004 03:15:20 -0000 1.36
+++ ewl_menu_base.c 22 Aug 2004 04:50:28 -0000 1.37
@@ -23,6 +23,7 @@
* Initialize the defaults of the inherited fields.
*/
ewl_menu_item_init(EWL_MENU_ITEM(menu), image, title);
+ ewl_widget_appearance_set(EWL_WIDGET(menu), "menu_base");
ewl_callback_append(EWL_WIDGET(menu), EWL_CALLBACK_SELECT,
ewl_menu_base_expand_cb, NULL);
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs