Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_config.c e_int_config_startup.c 


Log Message:


splash config works now...

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -3 -r1.182 -r1.183
--- e_config.c  13 Jun 2006 08:26:57 -0000      1.182
+++ e_config.c  11 Jul 2006 18:57:13 -0000      1.183
@@ -513,7 +513,7 @@
 #define IFCFGEND }
    IFCFG(0x008d);
    e_config->show_splash = 1;
-   e_config->init_default_theme = NULL;
+   e_config->init_default_theme = evas_stringshare_add("init.edj");
    e_config->desktop_default_background = NULL;
    e_config->desktop_default_name = evas_stringshare_add(_("Desktop %i, %i"));
    e_config->menus_scroll_speed = 1000.0;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_startup.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_int_config_startup.c      8 Jul 2006 09:18:03 -0000       1.10
+++ e_int_config_startup.c      11 Jul 2006 18:57:13 -0000      1.11
@@ -77,12 +77,17 @@
    if (e_config->init_default_theme)
      evas_stringshare_del(e_config->init_default_theme);
 
-   if (!cfdata->init_default_theme[0])
-     e_config->init_default_theme = NULL;
-   else 
+   if (cfdata->init_default_theme)
      {
-       const char *f = ecore_file_get_file(cfdata->init_default_theme);
-       e_config->init_default_theme = evas_stringshare_add(f);
+       if (!cfdata->init_default_theme[0])
+         e_config->init_default_theme = NULL;
+       else 
+         {
+            const char *f;
+            
+            f = ecore_file_get_file(cfdata->init_default_theme);
+            e_config->init_default_theme = evas_stringshare_add(f);
+         }
      }
    
    e_config_save_queue();
@@ -196,7 +201,7 @@
             if (!e_util_edje_collection_exists(full_path, "init/splash")) 
continue;
 
             ic = e_thumb_icon_add(cfd->dia->win->evas);
-            e_thumb_icon_file_set(ic, full_path, "desktop/background");
+            e_thumb_icon_file_set(ic, full_path, "init/splash");
             e_thumb_icon_size_set(ic, 64,
                                    (64 * 
e_zone_current_get(cfd->dia->win->container)->h) /
                                    
e_zone_current_get(cfd->dia->win->container)->w);




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

Reply via email to