[Sugar-devel] [PATCH sugar 12/20] No reason to unfreeze dcon on idle

Daniel Narvaez dwnarvaez at gmail.com
Mon Dec 10 14:11:38 EST 2012


From: Daniel Narvaez <dwnarvaez at gmail.com>

---
 src/jarabe/main.py |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/jarabe/main.py b/src/jarabe/main.py
index 55c6b8c..464382f 100755
--- a/src/jarabe/main.py
+++ b/src/jarabe/main.py
@@ -65,10 +65,6 @@ from jarabe.intro.window import IntroWindow
 from jarabe import frame
 from jarabe.view.service import UIService
 
-def unfreeze_dcon_cb():
-    logging.debug('STARTUP: unfreeze_dcon_cb')
-    screen.set_dcon_freeze(0)
-
 def setup_frame_cb():
     logging.debug('STARTUP: setup_frame_cb')
     frame.get_view()
@@ -213,7 +209,7 @@ def main():
 
     # this must be added early, so that it executes and unfreezes the screen
     # even when we initially get blocked on the intro screen
-    GObject.idle_add(unfreeze_dcon_cb)
+    screen.set_dcon_freeze(0)
 
     GObject.idle_add(setup_cursortracker_cb)
     # make sure we have the correct cursor in the intro screen
-- 
1.7.10.4



More information about the Sugar-devel mailing list