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:
parent
bdd65fe755
commit
12746a1949
@ -165,7 +165,7 @@ const ModemCdma = new Lang.Class({
|
||||
|
||||
this.signal_quality = 0;
|
||||
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.emit('notify::signal-quality');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user