Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_shelf.c 


Log Message:
Default the shelf list width to something sane if the shelf count
is 0, else request the width and set accordingly.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_shelf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_int_config_shelf.c        30 Apr 2006 09:31:31 -0000      1.2
+++ e_int_config_shelf.c        21 May 2006 11:45:22 -0000      1.3
@@ -93,8 +93,13 @@
        
        e_widget_ilist_append(cfdata->ilist, ob, buf, _cb_list, cfdata, NULL);
      }
+
    e_widget_min_size_get(cfdata->ilist, &wmw, &wmh);
-   e_widget_min_size_set(cfdata->ilist, wmw, 250);
+   if (evas_list_count(l) > 0) 
+     e_widget_min_size_set(cfdata->ilist, wmw, 250);
+    else 
+     e_widget_min_size_set(cfdata->ilist, 165, 250);   
+   
    e_widget_ilist_go(cfdata->ilist);
    e_widget_ilist_selected_set(cfdata->ilist, n);
 }




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to