aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-net-monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-net-monitor.c')
-rw-r--r--src/ephy-net-monitor.c14
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);