Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entice

Dir     : e17/apps/entice/src/bin


Modified Files:
        entice.c 


Log Message:
This was evil, make sure your edje is resized to window size before
querying part size.


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/entice.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- entice.c    14 Oct 2003 18:33:29 -0000      1.5
+++ entice.c    16 Oct 2003 06:17:46 -0000      1.6
@@ -82,6 +82,7 @@
 {
    Entice *e = NULL;
    Evas_Object *o = NULL;
+   int x, y, w, h;
 
    if ((ee) && (e = (Entice *) malloc(sizeof(Entice))))
    {
@@ -89,10 +90,12 @@
       e->ee = ee;
 
       e_thumb_init();
+      ecore_evas_geometry_get(ee, &x, &y, &w, &h);
       o = edje_object_add(ecore_evas_get(ee));
       edje_object_file_set(o, entice_config_theme_get(), "Entice");
       evas_object_name_set(o, "EnticeEdje");
       evas_object_move(o, 0, 0);
+      evas_object_resize(o, w, h);
       hookup_edje_signals(o);
       evas_object_show(o);
       e->edje = o;




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to