mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue