summaryrefslogtreecommitdiff
path: root/app/qml/pages/ManagerPage.qml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2015-04-19 18:17:02 +0200
committerAndrew Branson <andrew.branson@cern.ch>2015-04-19 18:17:02 +0200
commit6da5f1039ed113dcf11b0347e6d2dbd5432c3d33 (patch)
treedd48e39b01ff098c9e1059acceb0b36127f15b37 /app/qml/pages/ManagerPage.qml
parent8bb7a35eedd431f707ca6fb9134c35bace8e4b24 (diff)
Support option for system volume control
Add support for direct PulseAudio volume control instead of through MPRIS, which doesn't currently work. Default enabled, added setting to disable.
Diffstat (limited to 'app/qml/pages/ManagerPage.qml')
-rw-r--r--app/qml/pages/ManagerPage.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/qml/pages/ManagerPage.qml b/app/qml/pages/ManagerPage.qml
index 894797d..7fb7369 100644
--- a/app/qml/pages/ManagerPage.qml
+++ b/app/qml/pages/ManagerPage.qml
@@ -11,6 +11,7 @@ Page {
path: "/org/pebbled/settings"
property bool silentWhenConnected: false
property bool transliterateMessage: false
+ property bool useSystemVolume: true
property bool incomingCallNotification: true
property bool notificationsCommhistoryd: true
property bool notificationsMissedCall: true
@@ -133,6 +134,15 @@ Page {
}
}
TextSwitch {
+ text: qsTr("Control main volume")
+ description: qsTr("Pebble music volume buttons change the main phone volume directly instead of through the music player.")
+ checked: settings.useSystemVolume
+ automaticCheck: true
+ onClicked: {
+ settings.useSystemVolume = !settings.useSystemVolume;
+ }
+ }
+ TextSwitch {
text: qsTr("Transliterate messages")
description: qsTr("Messages are transliterated to ASCII before sending to Pebble")
checked: settings.transliterateMessage