Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src
Modified Files:
entropy_config.c
Log Message:
* Small change to default config - assume that the core will place quotes
around filenames, therefore no need to put them in the app lines
* Support right click menu removal of location entries, and associated API.
This doesn't destroy the associated plugin instance, and its message consumer,
yet - but the hooks are there
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_config.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- entropy_config.c 20 Mar 2006 11:58:54 -0000 1.13
+++ entropy_config.c 22 Mar 2006 11:04:49 -0000 1.14
@@ -7,7 +7,7 @@
#include <Eet.h>
#include <stdarg.h>
-#define ENTROPY_CONFIG_VERSION 9
+#define ENTROPY_CONFIG_VERSION 10
static Entropy_Config* _Entropy_Config = NULL;
@@ -529,14 +529,14 @@
config->mime_bindings = evas_list_append(config->mime_bindings,
entropy_config_binding_new("audio/x-mp3",
entropy_config_binding_action_new("Xmms", "xmms", "\%pf"),
-
entropy_config_binding_action_new("Mpg123 (via eVFS)", "evfscat \"%u\" | mpg123
-", ""),
+
entropy_config_binding_action_new("Mpg123 (via eVFS)", "evfscat \%u | mpg123
-", ""),
NULL
));
config->mime_bindings = evas_list_append(config->mime_bindings,
entropy_config_binding_new("video/x-ms-wmv",
entropy_config_binding_action_new("MPlayer", "mplayer", "\%pf"),
-
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \"%u\" |
mplayer -cache 4096 -", ""),
+
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \%u | mplayer
-cache 4096 -", ""),
entropy_config_binding_action_new("Xine", "xine", "%pf"),
NULL
));
@@ -544,7 +544,7 @@
config->mime_bindings = evas_list_append(config->mime_bindings,
entropy_config_binding_new("video/mpeg",
entropy_config_binding_action_new("MPlayer", "mplayer", "\%pf"),
-
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \"%u\" |
mplayer -cache 4096 -", ""),
+
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \%u | mplayer
-cache 4096 -", ""),
entropy_config_binding_action_new("Xine", "xine", "%pf"),
NULL
));
@@ -552,7 +552,7 @@
config->mime_bindings = evas_list_append(config->mime_bindings,
entropy_config_binding_new("video/x-msvideo",
entropy_config_binding_action_new("MPlayer", "mplayer", "\%pf"),
-
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \"%u\" |
mplayer -cache 4096 -", ""),
+
entropy_config_binding_action_new("MPlayer (via evfs)", "evfscat \%u | mplayer
-cache 4096 -", ""),
entropy_config_binding_action_new("Xine", "xine", "%pf"),
NULL
));
@@ -583,12 +583,21 @@
return _Entropy_Config->Loaded_Config->structures;
}
-void
-entropy_config_standard_structures_add (entropy_gui_component_instance *
- instance, char *name, char *uri)
+void entropy_config_standard_structure_remove(Entropy_Config_Structure*
structure)
+{
+ _Entropy_Config->Loaded_Config->structures =
evas_list_remove(_Entropy_Config->Loaded_Config->structures,
+ structure);
+}
+
+Entropy_Config_Structure*
+entropy_config_standard_structures_add (char *name, char *uri)
{
+ Entropy_Config_Structure* structure =
entropy_config_structure_new(name,uri);
+
_Entropy_Config->Loaded_Config->structures =
evas_list_append(_Entropy_Config->Loaded_Config->structures,
- entropy_config_structure_new(name,uri));
+ structure);
+
+ return structure;
}
void
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs