Gjsify LogoGjsify Logo

Index

Functions

  • mobile_providers_split_3gpp_mcc_mnc(mccmnc: string): [boolean, string, string]
  • Splits the input MCCMNC string into separate MCC and MNC strings.

    Parameters

    • mccmnc: string

      input MCCMNC string.

    Returns [boolean, string, string]

  • Returns the name that nma_utils_disambiguate_device_names() would return for the virtual device that would be created for connection. Eg, "VLAN (eth1.1)".

    Parameters

    Returns string

  • Gets a description of device, incorporating the results of nma_utils_get_device_vendor() and nma_utils_get_device_product().

    Parameters

    Returns string

  • Gets a cleaned-up version of #NMDevice:product for device. This removes strings like "Wireless LAN Adapter" that would just take up unnecessary space in the UI.

    Parameters

    Returns string

  • Gets a cleaned-up version of #NMDevice:vendor for device. This removes strings like "Inc." that would just take up unnecessary space in the UI.

    Parameters

    Returns string

  • 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.

    Parameters

    • passwd_entry: Gtk.Widget

      password #GtkEntry which the icon is attached to

    • initial_flags: NetworkManager.SettingSecretFlags

      initial secret flags to setup password menu from

    • setting: NetworkManager.Setting

      #NMSetting containing the password, or NULL

    • password_flags_name: string

      name of the secret flags (like psk-flags), or NULL

    • with_not_required: boolean

      whether to include "Not required" menu item

    • sensitive_ask: boolean

      %TRUE if entry should be sensivive on selected "always-ask" icon (this is e.f. for nm-applet asking for password)

    Returns void

  • Updates secret flags in the password storage popup menu and also in the setting (if setting and password_flags_name are not NULL).

    Parameters

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method