diff options
author | Ruben Rodriguez <ruben@activitycentral.com> | 2013-09-17 23:14:30 (GMT) |
---|---|---|
committer | Ruben Rodriguez <ruben@activitycentral.com> | 2013-09-17 23:14:30 (GMT) |
commit | 5c9f859bc25c8f5ba6613d3db9ce0b20d20c9db2 (patch) | |
tree | 4ba90c7fe891ed7c00766fc09502a52a63cae1b8 | |
parent | c34cca7a1b39c2ac33112c85c378871153cf9345 (diff) |
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
-rwxr-xr-x | bin/sugar-session | 4 |
1 files changed, 2 insertions, 2 deletions
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 |