From 5c9f859bc25c8f5ba6613d3db9ce0b20d20c9db2 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Tue, 17 Sep 2013 23:14:30 +0000 Subject: Only call unfreeze_dcon_cb if /sys/devices/platform/dcon exists https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/501511 Applied https://launchpadlibrarian.net/53053401/DCON.patch --- diff --git a/bin/sugar-session b/bin/sugar-session index dfd81fa..8327af3 100755 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -457,8 +457,8 @@ 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) - + if os.path.exists("/sys/devices/platform/dcon"): + GObject.idle_add(unfreeze_dcon_cb) GObject.idle_add(setup_cursortracker_cb) # make sure we have the correct cursor in the intro screen -- cgit v0.9.1