davemds pushed a commit to branch master.

commit 87ee5d9be83c17ad801baf8afb37d5f8db1aa23b
Author: davemds <[email protected]>
Date:   Sun Mar 31 15:31:23 2013 +0200

    Python-EFL: Fix emotion example
---
 examples/emotion/test_emotion.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/emotion/test_emotion.py b/examples/emotion/test_emotion.py
index 2cccaf3..b50414f 100644
--- a/examples/emotion/test_emotion.py
+++ b/examples/emotion/test_emotion.py
@@ -7,6 +7,7 @@ from efl import evas
 from efl import edje
 from efl import emotion
 from efl import elementary
+from efl.elementary.window import Window
 
 
 def pkgconfig_variable(pkg, var):
@@ -330,7 +331,7 @@ if __name__ == "__main__"or True:
     elementary.init()
 
     # elementary window
-    win = elementary.Window("test-emotion", elementary.ELM_WIN_BASIC)
+    win = Window("test-emotion", elementary.ELM_WIN_BASIC)
     win.title_set("python-emotion test application")
     win.callback_delete_request_add(lambda o: elementary.exit())
     win.on_key_down_add(AppKeyboardEvents())

-- 

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2

Reply via email to