everything: use libgudev instead of HAL; merge NM and nm-system-settings
The only thing that doesn't work yet is the system-settings service's "auto eth" connections for ethernet devices that don't have an existing connection. Might also have issues with unmanaged devices that can't provide a MAC address until they are brought up, but we'll see.
This commit is contained in:
@@ -70,8 +70,8 @@ nm_device_interface_init (gpointer g_iface)
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_string (NM_DEVICE_INTERFACE_UDI,
|
||||
"Udi",
|
||||
"HAL Udi",
|
||||
"UDI",
|
||||
"Unique Device Identifier",
|
||||
NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
@@ -143,7 +143,7 @@ nm_device_interface_init (gpointer g_iface)
|
||||
(g_iface, g_param_spec_boolean (NM_DEVICE_INTERFACE_MANAGED,
|
||||
"Managed",
|
||||
"Managed",
|
||||
TRUE,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
/* Signals */
|
||||
@@ -270,3 +270,12 @@ nm_device_interface_get_state (NMDeviceInterface *device)
|
||||
return state;
|
||||
}
|
||||
|
||||
gboolean
|
||||
nm_device_interface_spec_match_list (NMDeviceInterface *device,
|
||||
const GSList *specs)
|
||||
{
|
||||
if (NM_DEVICE_INTERFACE_GET_INTERFACE (device)->spec_match_list)
|
||||
return NM_DEVICE_INTERFACE_GET_INTERFACE (device)->spec_match_list (device, specs);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user