2008-02-01 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c - (device_state_changed): schedule a change check when a device gets deactivated so something happens if you disconnect GSM/CDMA git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3284 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -467,6 +467,8 @@ device_state_changed (NMDevice *device, NMDeviceState state, gpointer user_data)
|
||||
/* Clear the invalid tag on the connection */
|
||||
if (connection)
|
||||
g_object_set_data (G_OBJECT (connection), INVALID_TAG, NULL);
|
||||
} else if (state == NM_DEVICE_STATE_DISCONNECTED) {
|
||||
schedule_change_check (policy);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user