Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_iconbox.c 


Log Message:
Changed to imenu for now, because ewl_menu appears broken

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_iconbox.c       3 Oct 2005 06:43:07 -0000       1.24
+++ ewl_iconbox.c       7 Oct 2005 10:42:01 -0000       1.25
@@ -202,12 +202,12 @@
 
 
        /* Get the context menu ready */
-       ib->ewl_iconbox_context_menu = ewl_menu_new(NULL, "");
+       ib->ewl_iconbox_context_menu = ewl_imenu_new(NULL, "");
        ewl_container_child_append(EWL_CONTAINER(ib->ewl_iconbox_menu_floater), 
ib->ewl_iconbox_context_menu);
        ewl_widget_show(ib->ewl_iconbox_context_menu);
 
        /* Add auto-arrange ability */
-       ib->ewl_iconbox_view_menu = ewl_menu_new(NULL, "View");
+       ib->ewl_iconbox_view_menu = ewl_imenu_new(NULL, "View");
        ewl_container_child_append(EWL_CONTAINER(ib->ewl_iconbox_context_menu), 
ib->ewl_iconbox_view_menu);
        
        ib->ewl_iconbox_context_menu_item = ewl_menu_item_new(NULL, 
"Auto-Arrange");
@@ -935,7 +935,13 @@
 
                        ewl_callback_del(EWL_WIDGET(list_item), 
EWL_CALLBACK_DESTROY,ewl_iconbox_icon_destroy_cb);
 
+                       /*Delete all callbacks on double click - onus should 
probably be on assigner to do this.? */
+                       ewl_callback_del_type(EWL_WIDGET(list_item), 
EWL_CALLBACK_MOUSE_DOWN);
+
+
                        ewl_widget_destroy(EWL_WIDGET(list_item));              
+
+                                               
                }
                /*printf("...dione\n");*/
 




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to