kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=40cedb0e4b27b45a3289f1ff0222d446b4f4a6d4

commit 40cedb0e4b27b45a3289f1ff0222d446b4f4a6d4
Author: Kai Huuhko <[email protected]>
Date:   Sun Oct 5 21:11:40 2014 +0300

    Elm.menu: Fix documentation for item_add parameters
    
    icon and label are in fact reversed in our API when compared to C API.
---
 efl/elementary/menu.pyx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/efl/elementary/menu.pyx b/efl/elementary/menu.pyx
index 65b5c53..7a406c5 100644
--- a/efl/elementary/menu.pyx
+++ b/efl/elementary/menu.pyx
@@ -361,10 +361,9 @@ cdef class Menu(Object):
 
         :param parent: The parent menu item (optional)
         :type parent: :py:class:`~efl.elementary.object.Object`
+        :param string label: The label of the item.
         :param string icon: An icon display on the item. The icon will be 
destroyed
             by the menu.
-        :param string label: The label of the item.
-        :type label: string
         :param callback: Function called when the user select the item.
         :type callback: function
 

-- 


Reply via email to