Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_dnd.h ewl_iconbox.c 


Log Message:
* Oops - another missing prototype

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_dnd.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_dnd.h   22 Dec 2005 11:54:03 -0000      1.5
+++ ewl_dnd.h   22 Dec 2005 12:09:29 -0000      1.6
@@ -8,6 +8,7 @@
 Ewl_Widget* ewl_dnd_drag_widget_get();
 int ewl_dnd_status_get();
 void ewl_dnd_drag_widget_clear();
+void ewl_dnd_disable();
 
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- ewl_iconbox.c       22 Dec 2005 04:29:44 -0000      1.96
+++ ewl_iconbox.c       22 Dec 2005 12:09:29 -0000      1.97
@@ -461,12 +461,16 @@
 Ecore_List* ewl_iconbox_get_selection(Ewl_IconBox* ib) {
        Ewl_IconBox_Icon* list_item;
        Ecore_List* selected = ecore_list_new();
+       int add_last = 1;
        
        ecore_list_goto_first(ib->ewl_iconbox_icon_list);
        while((list_item = 
(Ewl_IconBox_Icon*)ecore_list_next(ib->ewl_iconbox_icon_list)) != NULL) {
+               if (ib->select_icon && list_item == ib->select_icon) add_last = 
0;
                if (list_item->selected) ecore_list_append(selected, list_item);
        }
 
+       if (ib->select_icon && add_last) ecore_list_append(selected, 
ib->select_icon);
+
        return selected;
 }
 
@@ -1008,7 +1012,6 @@
        int ibx,iby,px,py,fw,fh;
        Ewl_IconBox* ib = EWL_ICONBOX(user_data);
        Ewl_IconBox_Icon* list_item = ib->select_icon;
-       Ewl_Event_Mouse_Move *ev = ev_data;
        Ewl_Dnd_Types* types;
 
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to