Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        layout_etk_simple.c layout_ewl_simple.c 


Log Message:
* Move standard location create to central config

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_etk_simple.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- layout_etk_simple.c 26 Feb 2006 04:00:14 -0000      1.17
+++ layout_etk_simple.c 26 Feb 2006 04:49:43 -0000      1.18
@@ -295,7 +295,7 @@
 
   /*Config load*/
   if (!(tmp = entropy_config_str_get ("layout_ewl_simple", "structure_bar"))) {
-    //layout_ewl_simple_config_create (core);
+    entropy_config_standard_structures_create ();
     tmp = entropy_config_str_get ("layout_ewl_simple", "structure_bar");
   }
 
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- layout_ewl_simple.c 24 Feb 2006 23:19:48 -0000      1.48
+++ layout_ewl_simple.c 26 Feb 2006 04:49:43 -0000      1.49
@@ -492,22 +492,6 @@
 }
 
 void
-layout_ewl_simple_config_create (entropy_core * 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);
-}
-
-
-void
 layout_ewl_simple_add_header (entropy_gui_component_instance * instance,
                              char *name, char *uri)
 {
@@ -1000,7 +984,7 @@
   ewl_container_child_append (EWL_CONTAINER (gui->local_container), iconbox);
 
   if (!(tmp = entropy_config_str_get ("layout_ewl_simple", "structure_bar"))) {
-    layout_ewl_simple_config_create (core);
+    entropy_config_standard_structures_create ();
     tmp = entropy_config_str_get ("layout_ewl_simple", "structure_bar");
   }
 




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to