Adding gsettings-qt for another pair of eyes because at first glance the u-s-s code looks alright:
http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/rtm-14.09/view/head:/plugins/orientation-lock/EntryComponent.qml?start_revid=935
control: Switch { id: control objectName: "orientationLockSwitch" checked: systemSettings.rotationLock onClicked: { systemSettings.rotationLock = checked } GSettings { id: systemSettings schema.id: "com.ubuntu.touch.system" } }
Adding gsettings-qt for another pair of eyes because at first glance the u-s-s code looks alright:
http:// bazaar. launchpad. net/~system- settings- touch/ubuntu- system- settings/ rtm-14. 09/view/ head:/plugins/ orientation- lock/EntryCompo nent.qml? start_revid= 935
control: Switch { kSwitch" rotationLock
systemSett ings.rotationLo ck = checked
schema. id: "com.ubuntu. touch.system"
id: control
objectName: "orientationLoc
checked: systemSettings.
onClicked: {
}
GSettings {
id: systemSettings
}
}