Created
February 28, 2019 06:25
-
-
Save 0312birdzhang/c1d28e3ae451247c286c301744782f49 to your computer and use it in GitHub Desktop.
SailfishOS goto settings page
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
import Nemo.DBus 2.0 | |
DBusInterface { | |
id: settingsApp | |
service: "com.jolla.settings" | |
path: "/com/jolla/settings/ui" | |
iface: "com.jolla.settings.ui" | |
} | |
function goToSettings(path){ | |
settingsApp.call('showPage', [path]); | |
} | |
goToSettings("system_settings/connectivity/vpn") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment