aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ecore
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-05-04 08:38:27 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-05-04 08:38:27 +0300
commit94779d1640981bca3af79bd6ff5cd77edd138567 (patch)
treefc5600b61992f2487b36ed7ea7e8d8354241109b /examples/ecore
parentelm.Toolbar: Note earlier changes to events and update example (diff)
downloadpython-efl-94779d1640981bca3af79bd6ff5cd77edd138567.tar.gz
Examples: Fixed ecore_x and dbus examples
Diffstat (limited to 'examples/ecore')
-rw-r--r--examples/ecore/x/mplayer_embed.py4
-rw-r--r--examples/ecore/x/window_creation.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/ecore/x/mplayer_embed.py b/examples/ecore/x/mplayer_embed.py
index e1a62af..6586ad1 100644
--- a/examples/ecore/x/mplayer_embed.py
+++ b/examples/ecore/x/mplayer_embed.py
@@ -2,7 +2,7 @@
import sys
import efl.ecore
-from efl.ecore.x import Window, on_window_configure_add
+from efl.ecore_x import Window, on_window_configure_add
from subprocess import Popen, PIPE
@@ -39,5 +39,5 @@ def on_configure(event, main_window, sub_window):
on_window_configure_add(on_configure, main_window, sub_window)
efl.ecore.fd_handler_add(
- p.stdout, efl.ecore.ECORE_FD_ALL, handle_read, p.stdout)
+ p.stdout, efl.ecore_x.ECORE_FD_ALL, handle_read, p.stdout)
efl.ecore.main_loop_begin()
diff --git a/examples/ecore/x/window_creation.py b/examples/ecore/x/window_creation.py
index f8275bb..5dc2268 100644
--- a/examples/ecore/x/window_creation.py
+++ b/examples/ecore/x/window_creation.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import efl.ecore
-from efl.ecore.x import Window, on_window_configure_add
+from efl.ecore_x import Window, on_window_configure_add
# method 1