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:
Dan Williams
2008-02-01 20:39:42 +00:00
parent b4dfbf4f56
commit 595062c641
2 changed files with 8 additions and 0 deletions

View File

@@ -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);
}
}