Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fwin.c 


Log Message:


fixme and todo.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fwin.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_fwin.c    29 Oct 2006 04:44:50 -0000      1.13
+++ e_fwin.c    29 Oct 2006 04:55:29 -0000      1.14
@@ -584,13 +584,22 @@
          }
      }
 
-   /* FIXME: check all the mimes - if there is only 1 mime - then open with
-    * the last used app - if any (if not continue with dialog). if there
-    * are multiple or no previously used app for this mime - then open
-    * dialog
-    */
    if (!always)
      {
+       /* FIXME: well this is simplisitic - if only 1 mime type is being
+        * opened then look for the previously used app for that mimetype and
+        * if found, use that.
+        * 
+        * we could get more sophisitcated.
+        * 1. find apps for each mimetype in mlist. if all prev used apps are
+        * the same, then use previously used app.
+        * OR if this fails
+        * 2. find all apps for each mimetype. find the one used the most.
+        * if that app can handle all mimetypes in the list - use that. if not
+        * find the next most often listed app - if that can handle all apps,
+        * use it, if not fall back again - and so on - if all apps listed do
+        * not contain 1 that handles all the mime types - fall back to dialog
+        */
        if (evas_list_count(mlist) == 1)
          {
             a = e_exehist_mime_app_get(mlist->data);



-------------------------------------------------------------------------
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

Reply via email to