Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_background.c 


Log Message:
Disable the theme bg preview for now as some themes use backgrounds which are 
made of multiple parts and causes the preview size problem.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_int_config_background.c   17 Jan 2006 00:41:18 -0000      1.19
+++ e_int_config_background.c   17 Jan 2006 21:14:53 -0000      1.20
@@ -122,9 +122,9 @@
        Evas_Object *bg, *im;
        
        bg = edje_object_add(cfdata->cfd->dia->win->evas);
-       e_theme_edje_object_set(bg, "base/theme/background", 
"desktop/background");
+       //e_theme_edje_object_set(bg, "base/theme/background", 
"desktop/background");
        im = e_widget_image_add_from_object(cfdata->cfd->dia->win->evas, bg, 
160, 120);
-       e_widget_image_object_set(cfdata->cfd->data, im);
+       e_widget_image_object_set(cfdata->cfd->data, im);       
      }
    else
      {
@@ -311,8 +311,9 @@
        pw = ((double)z->w * ph) / (double)z->h;
      }
 
+   
    bg = edje_object_add(evas);
-   e_theme_edje_object_set(bg, "base/theme/background", "desktop/background");
+   //e_theme_edje_object_set(bg, "base/theme/background", 
"desktop/background");
    evas_object_resize(bg, iw, ih);
    e_widget_ilist_append(il, bg, _("Theme Background"), 
_e_config_bg_cb_standard, cfd->cfdata, "");   
    
@@ -320,7 +321,8 @@
      {
        e_widget_ilist_selected_set(il, 0);     
        oi = edje_object_add(evas);
-       e_theme_edje_object_set(oi, "base/theme/background", 
"desktop/background");     
+       //e_theme_edje_object_set(oi, "base/theme/background", 
"desktop/background");   
+       evas_object_resize(oi, pw, ph);
        im = e_widget_image_add_from_object(evas, oi, pw, ph);
      }
    




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to