From 6e3f2116e38c13bc1b4ba34c75989b3e765f99f0 Mon Sep 17 00:00:00 2001 From: Boris 'billiob' Faure Date: Sun, 11 Oct 2009 17:01:51 +0200 Subject: [PATCH] [EFL] fix mainloop --- amsn2/gui/front_ends/efl/main_loop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amsn2/gui/front_ends/efl/main_loop.py b/amsn2/gui/front_ends/efl/main_loop.py index e760c0c1..1808fe2e 100644 --- a/amsn2/gui/front_ends/efl/main_loop.py +++ b/amsn2/gui/front_ends/efl/main_loop.py @@ -9,6 +9,7 @@ def __init__(self, amsn_core): elementary.init() def run(self): + #ecore.main_loop_glib_integrate() mainloop = gobject.MainLoop(is_running=True) context = mainloop.get_context() @@ -16,6 +17,7 @@ def glib_context_iterate(): iters = 0 while iters < 10 and context.pending(): context.iteration() + iters += 1 return True # Every 100ms, call an iteration of the glib main context loop