Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_io_manager.c 


Log Message:
add some mime types

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_io_manager.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewl_io_manager.c    12 Nov 2007 22:42:22 -0000      1.19
+++ ewl_io_manager.c    11 Dec 2007 22:36:45 -0000      1.20
@@ -30,6 +30,7 @@
                /* XXX this is a dumb way to do this.... */
                ewl_io_manager_ext_icon_map = ecore_hash_new(ecore_str_hash,
                                                ewl_io_manager_strcasecompare);
+               /* Images */
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".png",
                                                EWL_ICON_IMAGE_X_GENERIC);
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".jpg",
@@ -37,6 +38,7 @@
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".gif",
                                                EWL_ICON_IMAGE_X_GENERIC);
 
+               /* Videos */
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".wmv",
                                                EWL_ICON_VIDEO_X_GENERIC);
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".mpg",
@@ -49,15 +51,28 @@
                                                EWL_ICON_VIDEO_X_GENERIC);
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".asf",
                                                EWL_ICON_VIDEO_X_GENERIC);
+               ecore_hash_set(ewl_io_manager_ext_icon_map, ".mp4",
+                                               EWL_ICON_VIDEO_X_GENERIC);
+               ecore_hash_set(ewl_io_manager_ext_icon_map, ".mkv",
+                                               EWL_ICON_VIDEO_X_GENERIC);
+               ecore_hash_set(ewl_io_manager_ext_icon_map, ".ogm",
+                                               EWL_ICON_VIDEO_X_GENERIC);
 
+               /* Audio */
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".mp3",
                                                EWL_ICON_AUDIO_X_GENERIC);
+               ecore_hash_set(ewl_io_manager_ext_icon_map, ".mka",
+                                               EWL_ICON_AUDIO_X_GENERIC);
+               ecore_hash_set(ewl_io_manager_ext_icon_map, ".ogg",
+                                               EWL_ICON_AUDIO_X_GENERIC);
 
+               /* HTML */
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".html",
                                                EWL_ICON_TEXT_HTML);
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".htm",
                                                EWL_ICON_TEXT_HTML);
 
+               /* Scirpts */
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".pl",
                                                EWL_ICON_TEXT_X_SCRIPT);
                ecore_hash_set(ewl_io_manager_ext_icon_map, ".sh",



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to