EBackend: Utilize g_network_monitor_can_reach_async().
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 18 Feb 2013 02:07:03 +0000 (21:07 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 18 Feb 2013 03:48:56 +0000 (22:48 -0500)
commit894a61b70cb5fb788dad12e3ee26d2af66ebafb4
treea919d093d0b77223acb4b97452b70fb5459a2906
parent1ca84586a44bc3d4cc0b7d0fe2f293f2e27b68d4
EBackend: Utilize g_network_monitor_can_reach_async().

If the backend has a GSocketConnectable, determine the "online" state
using g_network_monitor_can_reach_async().

The "online" state is automatically updated on instance initialization,
when the GSocketConnectable is replaced, and when GNetworkMonitor emits
a "network-changed" signal.
libebackend/e-backend.c