From 2b844e59daf38ffe6d6419eb87bc97ffbc2e89b3 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 17 Jul 2015 17:20:06 +0200 Subject: [PATCH] Improve app mpris interface --- app/qml/mpris.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/qml/mpris.qml b/app/qml/mpris.qml index 17f0ac0b2..45ffa6716 100644 --- a/app/qml/mpris.qml +++ b/app/qml/mpris.qml @@ -41,27 +41,27 @@ ColumnLayout Layout.fillWidth: true text: root.mprisInterface.nowPlaying } - Button { - Layout.fillWidth: true - text: root.mprisInterface.isPlaying ? "pause" : "play" - onClicked: root.mprisInterface.sendAction("PlayPause"); - } RowLayout { Layout.fillWidth: true Button { Layout.fillWidth: true - text: "<<" + iconName: "media-skip-backward" onClicked: root.mprisInterface.sendAction("Previous") } Button { Layout.fillWidth: true - text: ">>" + iconName: root.mprisInterface.isPlaying ? "media-playback-pause" : "media-playback-start" + onClicked: root.mprisInterface.sendAction("PlayPause"); + } + Button { + Layout.fillWidth: true + iconName: "media-skip-forward" onClicked: root.mprisInterface.sendAction("Next") } } RowLayout { Layout.fillWidth: true - Label { text: "x" } + Label { text: i18n("Volume:") } Slider { value: root.mprisInterface.volume maximumValue: 100