Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        entropy_config.c 


Log Message:
* Move standard location create to central config

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- entropy_config.c    23 Feb 2006 23:40:07 -0000      1.7
+++ entropy_config.c    26 Feb 2006 04:49:43 -0000      1.8
@@ -164,3 +164,21 @@
 
   entropy_free (current_uri);
 }
+
+void
+entropy_config_standard_structures_create ()
+{
+  entropy_core* core = entropy_core_get_core();
+       
+  char *eg = calloc (HEADER_CONFIG_MAX, sizeof (char));
+
+  snprintf (eg, HEADER_CONFIG_MAX,
+           "Computer;file:///|Home;file://%s|Samba Example (Don't 
use!);smb://username:password@/test/machine/folder",
+           entropy_core_home_dir_get (core));
+
+  //printf("Setting default config string..\n");
+  entropy_config_str_set ("layout_ewl_simple", "structure_bar", eg);
+
+  free (eg);
+}
+




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

Reply via email to