Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        entropy_core.c 


Log Message:
* More MIME-Action work.  The user can now add actions for particular MIME 
types.  This still needs to be saved, however.

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- entropy_core.c      24 Nov 2005 04:03:13 -0000      1.25
+++ entropy_core.c      26 Nov 2005 11:50:41 -0000      1.26
@@ -272,6 +272,15 @@
        return core;
 }
 
+void entropy_core_mime_action_add(char* mime_type, char* action) {
+       entropy_mime_action* action_o;
+       
+       action_o = entropy_malloc(sizeof(entropy_mime_action));
+       action_o->executable = strdup(action);
+                       
+       ecore_hash_set(core_core->mime_action_hint, strdup(mime_type), 
action_o);
+}
+
 void entropy_core_config_load() {
        int count, new_count;
        Ecore_List* mime_type_actions;




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