Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_thumb_main.c 


Log Message:


fix thum gen - no alpha for some keys.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_thumb_main.c      30 Aug 2006 14:45:33 -0000      1.13
+++ e_thumb_main.c      3 Sep 2006 15:23:02 -0000       1.14
@@ -322,6 +322,7 @@
        evas_font_cache_set(evas, 0);
        ww = 0;
        hh = 0;
+       alpha = 1;
        ext = strrchr(eth->file, '.');
        if ((ext) && (eth->key) &&
            ((!strcasecmp(ext, ".edj")) ||
@@ -338,6 +339,10 @@
             evas_object_image_size_set(im, ww * 8, hh * 8);
             evas_object_image_fill_set(im, 0, 0, ww, hh);
             edje = edje_object_add(evas_im);
+            if ((eth->key) && 
+                ((!strcmp(eth->key, "e/desktop/background")) ||
+                 (!strcmp(eth->key, "e/init/splash"))))
+              alpha = 0;
             if (edje_object_file_set(edje, eth->file, eth->key))
               {
                  evas_object_move(edje, 0, 0);



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