Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_main.c 


Log Message:


start of some shelf config - START only... deal with it. debugging printfs
galore.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- e_mod_main.c        21 Apr 2006 15:54:11 -0000      1.112
+++ e_mod_main.c        23 Apr 2006 06:56:22 -0000      1.113
@@ -184,7 +184,8 @@
       case E_GADCON_ORIENT_CORNER_TR:
       case E_GADCON_ORIENT_CORNER_BL:
       case E_GADCON_ORIENT_CORNER_BR:
-       e_gadcon_client_aspect_set(gcc, evas_list_count(inst->ibar->icons), 1);
+       _ibar_orient_set(inst->ibar, 1);
+       e_gadcon_client_aspect_set(gcc, evas_list_count(inst->ibar->icons) * 
16, 16);
        break;
       case E_GADCON_ORIENT_VERT:
       case E_GADCON_ORIENT_LEFT:
@@ -193,13 +194,14 @@
       case E_GADCON_ORIENT_CORNER_RT:
       case E_GADCON_ORIENT_CORNER_LB:
       case E_GADCON_ORIENT_CORNER_RB:
-       e_gadcon_client_aspect_set(gcc, 1, evas_list_count(inst->ibar->icons));
+       _ibar_orient_set(inst->ibar, 0);
+       e_gadcon_client_aspect_set(gcc, 16, evas_list_count(inst->ibar->icons) 
* 16);
        break;
       default:
        break;
      }
    if (evas_list_count(inst->ibar->icons) < 1)
-     e_gadcon_client_aspect_set(gcc, 1, 1);
+     e_gadcon_client_aspect_set(gcc, 16, 16);
    e_gadcon_client_min_size_set(gcc, 16, 16);
 }
 /**/
@@ -294,11 +296,13 @@
    Evas_Coord w, h;
    
    evas_object_geometry_get(b->o_box, NULL, NULL, &w, &h);
+   printf("BOX %ix%i\n", w, h);
    if (e_box_orientation_get(b->o_box))
      w = h;
    else
      h = w;
    e_box_freeze(b->o_box);
+   printf("RESIZNE %i %i\n", w, h);
    for (l = b->icons; l; l = l->next)
      {
        ic = l->data;




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