Specify the idle's priority.
authorHuang Peng <shawn.p.huang@gmail.com>
Tue, 3 Jun 2008 04:50:18 +0000 (12:50 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Tue, 3 Jun 2008 04:50:18 +0000 (12:50 +0800)
engine/demo/engine.py

index 7d673a8..a6cd070 100644 (file)
@@ -83,7 +83,7 @@ class Engine (interface.IEngine):
                if self._is_invalidate:
                        return
                self._is_invalidate = True
-               gobject.idle_add (self._update)
+               gobject.idle_add (self._update, priority = gobject.PRIORITY_LOW)
 
        def _cursor_up (self):
                if self._lookup_table.cursor_up ():