Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-03 13:10:12 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-03 13:10:12 (GMT)
commita2a9cd2f700991d85026d564bbfcc3ebc56d011b (patch)
treebeed8851a31e512dc4daa8aa435fdfed307dfc58 /shell/sugar-shell
parenta09a786ff7a2ccc5657ac2708e048a183c90360c (diff)
Unfreeze dcon on idle.
Diffstat (limited to 'shell/sugar-shell')
-rwxr-xr-xshell/sugar-shell8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell
index 9786aa9..c2928c2 100755
--- a/shell/sugar-shell
+++ b/shell/sugar-shell
@@ -37,6 +37,7 @@ sys.path.insert(0, env.get_shell_path())
from view.Shell import Shell
from model.shellmodel import ShellModel
from shellservice import ShellService
+from hardware import hardwaremanager
from intro import intro
def _start_matchbox():
@@ -81,7 +82,14 @@ def check_cm(bus_name):
pass
return False
+def _unfreeze_dcon_idle_cb():
+ # Unfreeze the display when it's stable
+ hw_manager = hardwaremanager.get_manager()
+ hw_manager.set_dcon_freeze(0)
+
def main():
+ gobject.idle_add(_unfreeze_dcon_idle_cb)
+
_save_session_info()
_start_matchbox()
_setup_translations()