Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_theme.c 


Log Message:
path fix

===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_theme.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- etk_theme.c 31 Aug 2006 17:32:06 -0000      1.6
+++ etk_theme.c 31 Aug 2006 19:41:31 -0000      1.7
@@ -23,10 +23,12 @@
 void etk_theme_init()
 {
    _etk_theme_default_widget_theme = _etk_theme_find("themes", 
etk_config_widget_theme_get());
+   if (!_etk_theme_default_widget_theme)
+     _etk_theme_default_widget_theme = strdup("default");
    _etk_theme_default_icon_theme = _etk_theme_find("icons", "default");
    
    /* TODO: etk_config: add support of non default themes */
-   etk_theme_widget_theme_set(etk_config_widget_theme_get());
+   etk_theme_widget_theme_set(_etk_theme_default_widget_theme);
    etk_theme_icon_theme_set("default");
 }
 
@@ -276,7 +278,7 @@
    {
       /* TODO: etk_config_dir_get? */
       path = malloc(strlen(home) + strlen(subdir) + strlen("/.etk//.edj") + 
strlen(theme_name) + 1);
-      sprintf(path, "%s/.etk/%s/%s.edj", home, subdir, theme_name);
+      sprintf(path, "%s/.e/etk/%s/%s.edj", home, subdir, theme_name);
       if (ecore_file_exists(path))
          return path;
       else



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to