Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/ibar


Modified Files:
        e_mod_main.c 


Log Message:
Make sure that the box object fits inside the bar object

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_mod_main.c        21 Mar 2005 08:18:17 -0000      1.19
+++ e_mod_main.c        21 Mar 2005 22:23:28 -0000      1.20
@@ -883,7 +883,8 @@
    edje_extern_object_min_size_set(ibb->box_object, w, h);
    edje_object_part_swallow(ibb->bar_object, "items", ibb->box_object);
    edje_object_size_min_calc(ibb->bar_object, &bw, &bh);
-   /* _calc */
+   edje_extern_object_min_size_set(ibb->box_object, 0, 0);
+   edje_object_part_swallow(ibb->bar_object, "items", ibb->box_object);
 
    if (ibb->ibar->conf->width == IBAR_WIDTH_AUTO)
      {
@@ -1332,7 +1333,7 @@
       case E_GADMAN_CHANGE_MOVE_RESIZE:
         e_gadman_client_geometry_get(ibb->gmc, &ibb->x, &ibb->y, &ibb->w, 
&ibb->h);
 
-        edje_extern_object_min_size_set(ibb->box_object, ibb->w, ibb->h);
+        edje_extern_object_min_size_set(ibb->box_object, 0, 0);
         edje_object_part_swallow(ibb->bar_object, "items", ibb->box_object);
 
         evas_object_move(ibb->bar_object, ibb->x, ibb->y);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to