Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        mime.c thumbnail_system.c 


Log Message:
MIME changes

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/mime.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- mime.c      23 Oct 2005 01:05:48 -0000      1.2
+++ mime.c      26 Oct 2005 06:57:00 -0000      1.3
@@ -66,6 +66,8 @@
                else if (!strcmp(pos, ".mpe")) type = "video/mpeg";
                else if (!strcmp(pos, ".mpeg")) type = "video/mpeg";
                else if (!strcmp(pos, ".avi")) type = "video/x-msvideo";
+               else if (!strcmp(pos, ".tgz")) type = "application/x-gtar";
+               else if (!strcmp(pos, ".bz2")) type= "application/x-bzip2";
                
                
                
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/thumbnail_system.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- thumbnail_system.c  20 Oct 2005 08:45:54 -0000      1.1
+++ thumbnail_system.c  26 Oct 2005 06:57:00 -0000      1.2
@@ -28,6 +28,7 @@
                ecore_list_append(types, "text/html");
                ecore_list_append(types, "text/csrc");
                ecore_list_append(types, "video/mpeg");
+               ecore_list_append(types, "application/x-bzip2");
                //ecore_list_append(types, "video/x-msvideo");
                
        }
@@ -70,6 +71,8 @@
                strcpy(thumb->thumbnail_filename, PACKAGE_DATA_DIR 
"/icons/c.png");
        } else if (!strcmp(file->mime_type, "video/mpeg")) {
                strcpy(thumb->thumbnail_filename, PACKAGE_DATA_DIR 
"/icons/mpeg.png");
+       } else if (!strcmp(file->mime_type, "application/x-bzip2")) {
+               strcpy(thumb->thumbnail_filename, PACKAGE_DATA_DIR 
"/icons/bz2.png");
        }
 
 




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to