Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[nemo-qml-plugin-systemsettings] Support VPN ordering by connected st…
…atus. Contributes to JB#45380 This change adds the `orderByConnected` flag to VpnModel which, when set, will order VPN connections in the model first by the connection status (connected first, followed by not connected), then by the name alphabetially ascending (case-sensitive). When not set, the previous case-sensitive alphabetic name ordering is used. The new ordering is used when the MDM policy is set to prevent the user from manually connecting or disconnecting the VPNs. In this case, the list of VPNs is presented differently with headers indicating connection status, rather than indicating it using a TextSwitch glassitem.
- Loading branch information
Showing
2 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters