Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_combo.c 


Log Message:

Temporary fix for bug 12.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_combo.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- ewl_combo.c 23 Aug 2007 05:26:50 -0000      1.61
+++ ewl_combo.c 31 Oct 2007 19:24:45 -0000      1.62
@@ -335,9 +335,25 @@
                model = idx->sel.model;
                mvc_data = idx->sel.data;
 
-               item = view->fetch(model->fetch(mvc_data, idx->row, 0),
+               if (combo->editable)
+               {
+                       /* Give the row selected in the column parameter,
+                        * ewl_filepicker needs this to display proper filter
+                        */
+
+                       item = view->header_fetch(ewl_mvc_data_get(mvc), 
+                                       idx->row);
+               }
+
+               else
+               {
+               
+               
+                       item = view->fetch(model->fetch(mvc_data, idx->row, 0),
                                idx->row, 0);
+               }
        }
+
        else if (view->header_fetch)
                item = view->header_fetch(ewl_mvc_data_get(mvc), 0);
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to