diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2016-03-07 10:13:38 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-03-07 10:13:38 +0000 |
commit | 57f5cbe43e95d72e0904473ab371e9e016b73956 (patch) | |
tree | b8186a4701bbafcf9fc9a71bbcb35fd9b3ee81d1 /src/CMakeLists.txt | |
parent | de4abb7448d329f7e7c20e01f8b14f22627a69a3 (diff) | |
parent | 3aa67455801c7db139be5a9293ddb6d7d703a981 (diff) | |
download | ayatana-indicator-sound-57f5cbe43e95d72e0904473ab371e9e016b73956.tar.gz ayatana-indicator-sound-57f5cbe43e95d72e0904473ab371e9e016b73956.tar.bz2 ayatana-indicator-sound-57f5cbe43e95d72e0904473ab371e9e016b73956.zip |
This branch sets the last running player using accounts service instead of gsettings.
It also includes a new class AccountsServiceAccess, to centralize all accesses to account service properties.
Approved by: PS Jenkins bot, Charles Kerr
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ff03859..0498903 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -69,29 +69,37 @@ vala_add(indicator-sound-service media-player-list mpris2-interfaces accounts-service-user + accounts-service-access ) vala_add(indicator-sound-service options.vala DEPENDS volume-control volume-control-pulse + accounts-service-access ) vala_add(indicator-sound-service options-gsettings.vala DEPENDS options - volume-control-pulse + volume-control-pulse volume-control + accounts-service-access ) vala_add(indicator-sound-service volume-control.vala DEPENDS options - volume-control-pulse + volume-control-pulse + accounts-service-access +) +vala_add(indicator-sound-service + accounts-service-access.vala ) vala_add(indicator-sound-service volume-control-pulse.vala DEPENDS + accounts-service-access options volume-control ) @@ -99,20 +107,22 @@ vala_add(indicator-sound-service volume-warning.vala DEPENDS options - volume-control-pulse + volume-control-pulse volume-control warn-notification - notification + notification + accounts-service-access ) vala_add(indicator-sound-service volume-warning-pulse.vala DEPENDS volume-warning - options - volume-control-pulse - volume-control - warn-notification - notification + options + volume-control-pulse + volume-control + warn-notification + notification + accounts-service-access ) vala_add(indicator-sound-service media-player.vala @@ -161,8 +171,9 @@ vala_add(indicator-sound-service DEPENDS media-player volume-control - options - volume-control-pulse + options + volume-control-pulse + accounts-service-access ) vala_add(indicator-sound-service accounts-service-user.vala |