Replace GnomeIdleMonitor with MetaIdleMonitor

Now that GnomeIdleMonitor is a DBus API for mutter, we need to
use own in-process thing, to avoid dead locks.

https://bugzilla.gnome.org/show_bug.cgi?id=706005
This commit is contained in:
Giovanni Campagna
2013-08-14 15:47:27 +02:00
parent d4f66da793
commit e0574d2861
4 changed files with 6 additions and 4 deletions

View File

@ -592,7 +592,7 @@ const ScreenShield = new Lang.Class({
fadeFactor: 1 });
this._shortLightbox.connect('shown', Lang.bind(this, this._onShortLightboxShown));
this.idleMonitor = new GnomeDesktop.IdleMonitor();
this.idleMonitor = Meta.IdleMonitor.get_core();
},
_createBackground: function(monitorIndex) {