aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-user.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-11 15:34:24 -0600
committerTed Gould <ted@gould.cx>2014-02-11 15:34:24 -0600
commiteb1dc0ff1ae607763635ad220b7b914ec9235417 (patch)
tree10f334e1d1d66756f9e167ab1d23a897f6f6c6e3 /src/accounts-service-user.vala
parenta38509fd4b0023456c48fcb014f6ba0063b16f23 (diff)
downloadayatana-indicator-sound-eb1dc0ff1ae607763635ad220b7b914ec9235417.tar.gz
ayatana-indicator-sound-eb1dc0ff1ae607763635ad220b7b914ec9235417.tar.bz2
ayatana-indicator-sound-eb1dc0ff1ae607763635ad220b7b914ec9235417.zip
Update the player based on which one is running
Diffstat (limited to 'src/accounts-service-user.vala')
-rw-r--r--src/accounts-service-user.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index 7639b2e..33fb6e9 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -22,6 +22,8 @@ public class AccountsServiceUser : Object {
Act.UserManager accounts_manager = Act.UserManager.get_default();
Act.User? user = null;
+ public MediaPlayer? player = null;
+
public AccountsServiceUser () {
user = accounts_manager.get_user(GLib.Environment.get_user_name());