modemManager: Fix fallout from GDBus port

We need to listen to DBus signals with the 'connectSignal' method, not
the Signals 'connect' method.
This commit is contained in:
Jasper St. Pierre 2012-01-27 14:57:46 -05:00
parent bdd65fe755
commit 12746a1949

View File

@ -165,7 +165,7 @@ const ModemCdma = new Lang.Class({
this.signal_quality = 0; this.signal_quality = 0;
this.operator_name = null; this.operator_name = null;
this._proxy.connect('SignalQuality', Lang.bind(this, function(proxy, sender, params) { this._proxy.connectSignal('SignalQuality', Lang.bind(this, function(proxy, sender, params) {
this.signal_quality = params[0]; this.signal_quality = params[0];
this.emit('notify::signal-quality'); this.emit('notify::signal-quality');