Evaluates to the micro version number of NetworkManager which this source compiled against.
Evaluates to the minor version number of NetworkManager which this source is compiled against.
Splits the input MCCMNC string into separate MCC and MNC strings.
input MCCMNC string.
Returns secret flags corresponding to the selected password storage menu in the attached icon
Adds a secondary icon and creates a popup menu for password entry.
The active menu item is set up according to initial_flags, or
from setting/``password_flags_name
(if they are not NULL).
If the setting/``password_flags_name
are not NULL, secret flags will
be automatically updated in the setting when menu is changed.
password #GtkEntry which the icon is attached to
initial secret flags to setup password menu from
#NMSetting containing the password, or NULL
name of the secret flags (like psk-flags), or NULL
whether to include "Not required" menu item
%TRUE if the entry is shown in ASK mode. That means, while prompting for a password, contrary to being inside the editor mode. If %TRUE, the entry should be sensivive on selected "always-ask" icon (this is e.f. for nm-applet asking for password), otherwise not. If %FALSE, it shall not be possible to select a different storage, because we only prompt for a password, we cannot change the password location.
Updates secret flags in the password storage popup menu and also
in the setting
(if setting
and password_flags_name
are not NULL).
#GtkEntry with the password
secret flags to set
#NMSetting containing the password, or NULL
name of the secret flags (like psk-flags), or NULL
Evaluates to the major version number of NetworkManager which this source is compiled against.