Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/src/bin Modified Files: etk_iconbox_test.c Log Message: * [Widget] Move the theme-object and the event-object correctly. If fixes the event problem of the iconbox =================================================================== RCS file: /cvs/e/e17/proto/etk/src/bin/etk_iconbox_test.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- etk_iconbox_test.c 25 Aug 2006 21:32:00 -0000 1.7 +++ etk_iconbox_test.c 26 Aug 2006 09:38:06 -0000 1.8 @@ -11,7 +11,7 @@ char *icon; } Etk_Test_Iconbox_Types; -static void _etk_test_iconbox_mouse_up_cb(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); +static void _etk_test_iconbox_mouse_down_cb(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); static void _etk_test_iconbox_folder_set(Etk_Iconbox *iconbox, const char *folder); static Etk_Test_Iconbox_Types _etk_test_iconbox_types[] = @@ -57,14 +57,14 @@ iconbox = etk_iconbox_new(); etk_container_add(ETK_CONTAINER(win), iconbox); - etk_signal_connect("mouse_up", ETK_OBJECT(iconbox), ETK_CALLBACK(_etk_test_iconbox_mouse_up_cb), NULL); + etk_signal_connect("mouse_down", ETK_OBJECT(iconbox), ETK_CALLBACK(_etk_test_iconbox_mouse_down_cb), NULL); _etk_test_iconbox_folder_set(ETK_ICONBOX(iconbox), NULL); etk_widget_show_all(win); } /* Called when the iconbox is pressed by the mouse */ -static void _etk_test_iconbox_mouse_up_cb(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data) +static void _etk_test_iconbox_mouse_down_cb(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data) { Etk_Iconbox *iconbox; Etk_Iconbox_Icon *icon; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs