diff options
author | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-10-19 03:15:05 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-10-19 03:15:05 +0800 |
commit | c0e3df7630afa1ea61a9a0e76976f0df042122a5 (patch) | |
tree | 73a9e82a1a3c93a09ee1704c1604540a58800c9f | |
parent | 29b0550f41d11bdcf359ad1d706bb3edaee347de (diff) | |
download | gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar.gz gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar.bz2 gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar.lz gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar.xz gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.tar.zst gsoc2013-epiphany-c0e3df7630afa1ea61a9a0e76976f0df042122a5.zip |
Updates to new NetworkManager API signals for status monitoring.
Patch by Matthias Clasen, fix for bug #486881.
svn path=/trunk/; revision=7535
-rw-r--r-- | src/ephy-net-monitor.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c index 971beaf5d..e73abfabb 100644 --- a/src/ephy-net-monitor.c +++ b/src/ephy-net-monitor.c @@ -151,19 +151,9 @@ filter_func (DBusConnection *connection, if (dbus_message_is_signal (message, NM_DBUS_INTERFACE, - "DeviceNoLongerActive")) + "StateChange")) { - LOG ("EphyNetMonitor catches DeviceNoLongerActive signal"); - - ephy_net_monitor_check_network (monitor); - - return DBUS_HANDLER_RESULT_HANDLED; - } - if (dbus_message_is_signal (message, - NM_DBUS_INTERFACE, - "DeviceNowActive")) - { - LOG ("EphyNetMonitor catches DeviceNowActive signal"); + LOG ("EphyNetMonitor catches StateChange signal"); ephy_net_monitor_check_network (monitor); |