[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-svn
Subject:    E CVS: libs/etk andrunko
From:       Enlightenment CVS <noreply () fitx-00 ! ewr ! caoslinux ! org>
Date:       2007-07-31 18:42:35
Message-ID: 20070731184235.4AC0FA30A2 () cvs ! caoslinux ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic