modemManager: Look for property on correct object
The SignalQuality property is defined on the GDBusProxy, not the modem JS object. Fix this runtime warning: JS WARNING: [resource:///org/gnome/shell/misc/modemManager.js 252]: reference to undefined property "SignalQuality" JS ERROR: TypeError: this.SignalQuality is undefined _reloadSignalQuality@resource:///org/gnome/shell/misc/modemManager.js:252:34 _init@resource:///org/gnome/shell/misc/modemManager.js:234:14 NMDeviceModem@resource:///org/gnome/shell/ui/status/network.js:517:34 _deviceAdded@resource:///org/gnome/shell/ui/status/network.js:1755:27 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1097
This commit is contained in:
parent
66f9a9df81
commit
d9a75412c3
@ -249,7 +249,7 @@ var BroadbandModem = GObject.registerClass({
|
||||
}
|
||||
|
||||
_reloadSignalQuality() {
|
||||
let [quality, recent_] = this.SignalQuality;
|
||||
let [quality, recent_] = this._proxy.SignalQuality;
|
||||
this._setSignalQuality(quality);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user