kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=144e28a2306377fa88a42938973fbf077c601186

commit 144e28a2306377fa88a42938973fbf077c601186
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Wed Apr 15 00:35:30 2015 +0300

    Elm: Clarify init/shutdown change
    
    With docs and test logging
---
 efl/elementary/general.pyx  | 12 ++++++++++++
 examples/elementary/test.py |  3 +++
 2 files changed, 15 insertions(+)

diff --git a/efl/elementary/general.pyx b/efl/elementary/general.pyx
index 8795e56..301d0d7 100644
--- a/efl/elementary/general.pyx
+++ b/efl/elementary/general.pyx
@@ -308,6 +308,12 @@ def init():
     This function initializes Elementary and increments a counter of the number
     of calls to it. It returns the new counter's value.
 
+    .. versionchanged:: 1.14
+
+        The Python module calls this function when it is imported so you
+        should no longer have any need to call this manually. Calling it does
+        not carry any penalty though.
+
     """
     EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN,
         "Initializing efl.elementary", NULL)
@@ -346,6 +352,12 @@ def shutdown():
         is a possibility to call your ecore callbacks(timer, animator, event,
         job, and etc.) in shutdown()
 
+    .. versionchanged:: 1.14
+
+        The Python module calls this function when it is exiting so you
+        should no longer have any need to call this manually. Calling it does
+        not carry any penalty though.
+
     """
     EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN,
         "Shutting down efl.elementary", NULL)
diff --git a/examples/elementary/test.py b/examples/elementary/test.py
index eebfc0f..72d8ee7 100755
--- a/examples/elementary/test.py
+++ b/examples/elementary/test.py
@@ -19,6 +19,9 @@ eolog.setLevel(logging.INFO)
 evaslog = logging.getLogger("efl.evas")
 evaslog.setLevel(logging.INFO)
 
+elmlog = logging.getLogger("efl.elementary")
+elmlog.setLevel(logging.INFO)
+
 from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, EXPAND_BOTH, FILL_BOTH
 from efl import elementary
 from efl.elementary.window import StandardWindow

-- 


Reply via email to