2007-09-06 Dan Williams <dcbw@redhat.com>

* introspection/nm-access-point.xml
		- Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
			them to be.  There's some magic property name parsing going on in
			dbus-glib that breaks up property names based on studly-caps and
			puts - between words.

	* libnm-glib/nm-access-point.c
		- (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
			Fix property names



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-09-06 19:15:49 +00:00
parent 8af139dff4
commit 5dc24dd407
3 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,15 @@
2007-09-06 Dan Williams <dcbw@redhat.com>
* introspection/nm-access-point.xml
- Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
them to be. There's some magic property name parsing going on in
dbus-glib that breaks up property names based on studly-caps and
puts - between words.
* libnm-glib/nm-access-point.c
- (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
Fix property names
2007-09-06 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c

View file

@ -3,8 +3,8 @@
<node name="/">
<interface name="org.freedesktop.NetworkManager.AccessPoint">
<property name="Flags" type="u" access="read"/>
<property name="WPAFlags" type="u" access="read"/>
<property name="RSNFlags" type="u" access="read"/>
<property name="WpaFlags" type="u" access="read"/>
<property name="RsnFlags" type="u" access="read"/>
<property name="Ssid" type="ay" access="read"/>
<property name="Frequency" type="d" access="read"/>
<property name="HwAddress" type="s" access="read"/>

View file

@ -114,7 +114,7 @@ nm_access_point_get_wpa_flags (NMAccessPoint *ap)
{
g_return_val_if_fail (NM_IS_ACCESS_POINT (ap), NM_802_11_AP_SEC_NONE);
return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "WPAFlags");
return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "WpaFlags");
}
guint32
@ -122,7 +122,7 @@ nm_access_point_get_rsn_flags (NMAccessPoint *ap)
{
g_return_val_if_fail (NM_IS_ACCESS_POINT (ap), NM_802_11_AP_SEC_NONE);
return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "RSNFlags");
return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "RsnFlags");
}
GByteArray *