Unfreeze dcon on idle.

This commit is contained in:
Marco Pesenti Gritti
2007-09-03 15:10:12 +02:00
parent a09a786ff7
commit a2a9cd2f70
2 changed files with 8 additions and 5 deletions
+8
View File
@@ -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()