aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2017-06-18 17:30:52 (GMT)
committerKai Huuhko <kai.huuhko@gmail.com>2017-06-18 17:30:52 (GMT)
commita475ecba44220bf4c262c93033ec86d0041ab555 (patch)
treebeca3a8faf748a35098b8659e57e6eb055eae4d6
parentSome new widget names (diff)
downloadpython-efl-a475ecba44220bf4c262c93033ec86d0041ab555.tar.gz
Elementary: Add import to efl.edje
Since we can't always anticipate when Elm will return a pointer to an Edje object, let's just have the type always available.
-rw-r--r--efl/elementary/__init__.pyx5
1 files changed, 5 insertions, 0 deletions
diff --git a/efl/elementary/__init__.pyx b/efl/elementary/__init__.pyx
index b1f58b8..e99156e 100644
--- a/efl/elementary/__init__.pyx
+++ b/efl/elementary/__init__.pyx
@@ -717,6 +717,11 @@ def init():
"""
EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN, "Initializing efl.elementary")
+ # Force Edje object type to be always available, since we cannot
+ # anticipate when Elementary is going to return a pointer to one.
+
+ import efl.edje
+
# argc and argv are currently used by EFL to support app restart
# and binary relocation. These are probably not useful to us but we
# pass the information here regardless because useful functionality