manager: Send network-manager state change signals
authorKalle Valo <kalle.valo@canonical.com>
Tue, 18 Jan 2011 13:01:15 +0000 (15:01 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 22 Jan 2011 00:25:46 +0000 (01:25 +0100)
commit2978bc5a40898a8e693b4379eda3c355e997f048
tree80562eb5d2d7857d52c30c0ce5d6a50a2f86d8ee
parenta5976bab979e6018d9f38fb088d1aa699bb0fb6c
manager: Send network-manager state change signals

When using network-manager compatibility mode in connman applications,
for example pidgin and firefox, didn't notice when connman changed states
from offline to online (and vice versa) and applications would notice the
new state only after restarting them.

The problem was that connman wasn't sending StateChanged signals. After
adding them pidgin and firefox will notice the new states immeadiately.
src/manager.c