api: s/AllowedModes/AllowedMode in Gsm.Network
Only one mode is going to be stored here so it shouldn't be plural.
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
<method name="SetNetworkMode">
|
<method name="SetNetworkMode">
|
||||||
<tp:docstring>
|
<tp:docstring>
|
||||||
Set the desired mode the device may use when connecting to a mobile
|
Set the desired mode the device may use when connecting to a mobile
|
||||||
network (DEPRECATED; see SetAllowedModes instead).
|
network (DEPRECATED; see SetAllowedMode instead).
|
||||||
</tp:docstring>
|
</tp:docstring>
|
||||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_set_network_mode"/>
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_set_network_mode"/>
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
<tp:docstring>
|
<tp:docstring>
|
||||||
Returns the current network mode of the device (DEPRECATED; does not
|
Returns the current network mode of the device (DEPRECATED; does not
|
||||||
allow returning both the saved mode preference *and* the current access
|
allow returning both the saved mode preference *and* the current access
|
||||||
technology of the device at the same time. See the AllowedModes
|
technology of the device at the same time. See the AllowedMode
|
||||||
property instead).
|
property instead).
|
||||||
</tp:docstring>
|
</tp:docstring>
|
||||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
@@ -126,13 +126,13 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
<method name="SetAllowedModes">
|
<method name="SetAllowedMode">
|
||||||
<tp:docstring>
|
<tp:docstring>
|
||||||
Set the allowed access technologies to use when connecting to a mobile
|
Set the allowed access technologies to use when connecting to a mobile
|
||||||
network.
|
network.
|
||||||
</tp:docstring>
|
</tp:docstring>
|
||||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_set_allowed_modes"/>
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_set_allowed_mode"/>
|
||||||
<arg name="mode" type="u" direction="in" tp:type="MM_MODEM_GSM_MODE">
|
<arg name="mode" type="u" direction="in" tp:type="MM_MODEM_GSM_MODE">
|
||||||
<tp:docstring>
|
<tp:docstring>
|
||||||
The allowed access technologies. Only one mode flag may be specified,
|
The allowed access technologies. Only one mode flag may be specified,
|
||||||
@@ -143,9 +143,9 @@
|
|||||||
</arg>
|
</arg>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
<property name="AllowedModes" type="u" access="read" tp:type="MM_MODEM_GSM_MODE">
|
<property name="AllowedMode" type="u" access="read" tp:type="MM_MODEM_GSM_MODE">
|
||||||
<tp:docstring>
|
<tp:docstring>
|
||||||
The allowed access technologies (eg 2G/3G preference or specific access
|
The allowed access technologies (eg 2G/3G preference or a specific access
|
||||||
technology) to use when connecting to a mobile network. (Note for plugin
|
technology) to use when connecting to a mobile network. (Note for plugin
|
||||||
writers: this value may be ANY)
|
writers: this value may be ANY)
|
||||||
</tp:docstring>
|
</tp:docstring>
|
||||||
|
Reference in New Issue
Block a user