Enlightenment CVS committal Author : andrunko Project : e17 Module : libs/etk
Dir : e17/libs/etk/src/lib Modified Files: etk_notebook.c Log Message: Proper allocate size of notebook tab bar when geometry.w < requested_size.w. =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_notebook.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- etk_notebook.c 30 Mar 2007 14:13:55 -0000 1.36 +++ etk_notebook.c 31 Jul 2007 18:42:35 -0000 1.37 @@ -646,7 +646,7 @@ if (geometry.w >= requested_size.w) ratio = 1.0; else - ratio = (float)requested_size.w / geometry.w; + ratio = (float)geometry.w / requested_size.w; tab_geometry.x = geometry.x; tab_geometry.y = geometry.y; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs