network: fix signal name

There is no state-changed signal on NMActiveConnection

https://bugzilla.gnome.org/show_bug.cgi?id=706262
This commit is contained in:
Giovanni Campagna 2013-08-19 23:38:59 +02:00
parent fc5aadd6dd
commit 22b2ccd83d

View File

@ -141,7 +141,7 @@ const NMConnectionItem = new Lang.Class({
this._activeConnection = activeConnection;
if (this._activeConnection)
this._activeConnectionChangedId = this._activeConnection.connect('state-changed',
this._activeConnectionChangedId = this._activeConnection.connect('notify::state',
Lang.bind(this, this._connectionStateChanged));
this._sync();