[gnome-shell/wip/aggregate-menu: 43/99] network: Fix a bad signal name
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 43/99] network: Fix a bad signal name
- Date: Wed, 12 Jun 2013 20:15:41 +0000 (UTC)
commit 5f6c1dd6d5ea0f691520bb2cf0669074c1565003
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Jun 9 21:39:27 2013 -0400
network: Fix a bad signal name
We try to disconnect from firmwareChangedId, not firmwareMissingId.
https://bugzilla.gnome.org/show_bug.cgi?id=701954
js/ui/status/network.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index ebf31ba..a1b6a5c 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -412,8 +412,8 @@ const NMDevice = new Lang.Class({
// This state is actually a compound of various states (generically unavailable,
// firmware missing), that are exposed by different properties (whose state may
// or may not updated when we receive state-changed).
- if (!this._firmwareMissingId)
- this._firmwareMissingId = this.device.connect('notify::firmware-missing', Lang.bind(this,
this._substateChanged));
+ if (!this._firmwareChangedId)
+ this._firmwareChangedId = this.device.connect('notify::firmware-missing', Lang.bind(this,
this._substateChanged));
if (this.device.firmware_missing) {
/* Translators: this is for devices that require some kind of firmware or kernel
module, which is missing */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]