-1 IS UNACCEPTABLE even if. 

The API gets the enums type for the priority.

------------------------------------
-Regards, Hermet-
-----Original Message-----
From: "Enlightenment SVN"<no-reply>@enlightenment.org> 
To: <enlightenment-svn>@lists.sourceforge.net>; 
Cc: 
Sent: 2012-09-12 (수) 17:35:42
Subject: E SVN: raster IN trunk/elementary: . src/lib

Log:
From: thiep ha <thiep.ha>@samsung.com>
  Subject: [E-devel] [Patch] [Elementary] ctxpopup - correct position
  and size of ctxpopup
  
  With ctxpopup, if it has many items and user uses -1 as parameter in
  set direction priority function, 
  the ctxpopup position and size are calculated incorrectly.
  Ex:
  elm_ctxpopup_direction_priority_set(ctxpopup,
  ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1); 
  
  

Author:       raster
Date:         2012-09-12 01:35:42 -0700 (Wed, 12 Sep 2012)
New Revision: 76505
Trac:         http://trac.enlightenment.org/e/changeset/76505

Modified:
  trunk/elementary/ChangeLog trunk/elementary/NEWS 
trunk/elementary/src/lib/elc_ctxpopup.c 

Modified: trunk/elementary/ChangeLog
===================================================================
--- trunk/elementary/ChangeLog2012-09-12 08:35:12 UTC (rev 76504)
+++ trunk/elementary/ChangeLog2012-09-12 08:35:42 UTC (rev 76505)
@@ -467,3 +467,8 @@

         * Add access features to calendar.

+
+2012-09-12  Thiep Ha
+
+        * Fix ctxpopup direction if -1 is uses as priority.
+

Modified: trunk/elementary/NEWS
===================================================================
--- trunk/elementary/NEWS2012-09-12 08:35:12 UTC (rev 76504)
+++ trunk/elementary/NEWS2012-09-12 08:35:42 UTC (rev 76505)
@@ -21,6 +21,7 @@
    * Now elm_datetime_field_limit_set() can set year limits wihtout problems.
    * Fix re-order animation when it doesn't end correctly.
    * Fix popup to apply the same style to the notify sub-widget.
+   * Fix Ctxpopup direction if -1 priority used
    
 Removals:


Modified: trunk/elementary/src/lib/elc_ctxpopup.c
===================================================================
--- trunk/elementary/src/lib/elc_ctxpopup.c2012-09-12 08:35:12 UTC (rev 76504)
+++ trunk/elementary/src/lib/elc_ctxpopup.c2012-09-12 08:35:42 UTC (rev 76505)
@@ -200,7 +200,7 @@
              break;

            default:
-             break;
+             continue;
           }
         break;
      }


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to