aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-user.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-11 15:18:18 -0600
committerTed Gould <ted@gould.cx>2014-02-11 15:18:18 -0600
commita38509fd4b0023456c48fcb014f6ba0063b16f23 (patch)
tree11bd8ffd341f5068477a96801ced044269776bcc /src/accounts-service-user.vala
parent6e67bf9139adfbd9bfd8b7a32ec061d63514efe9 (diff)
downloadayatana-indicator-sound-a38509fd4b0023456c48fcb014f6ba0063b16f23.tar.gz
ayatana-indicator-sound-a38509fd4b0023456c48fcb014f6ba0063b16f23.tar.bz2
ayatana-indicator-sound-a38509fd4b0023456c48fcb014f6ba0063b16f23.zip
Building the service over in the new object
Diffstat (limited to 'src/accounts-service-user.vala')
-rw-r--r--src/accounts-service-user.vala9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index 56d981d..7639b2e 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -18,7 +18,14 @@
*/
-public class AccountServiceUser : Object {
+public class AccountsServiceUser : Object {
+ Act.UserManager accounts_manager = Act.UserManager.get_default();
+ Act.User? user = null;
+
+ public AccountsServiceUser () {
+ user = accounts_manager.get_user(GLib.Environment.get_user_name());
+
+ }