main: grab the keyboard D-Bus interface at startup

https://bugzilla.gnome.org/show_bug.cgi?id=658065
This commit is contained in:
Dan Winship
2011-09-02 11:28:47 -04:00
parent 22dcb46bff
commit 98fa71ba18
2 changed files with 11 additions and 1 deletions

View File

@ -199,7 +199,6 @@ function Keyboard() {
Keyboard.prototype = {
_init: function () {
DBus.session.exportObject('/org/gnome/Caribou/Keyboard', this);
DBus.session.acquire_name('org.gnome.Caribou.Keyboard', 0, null, null);
this._timestamp = global.get_current_time();
this.actor = new St.BoxLayout({ name: 'keyboard', vertical: true, reactive: true });