aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala
index 8711b6a..18f283b 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -25,6 +25,8 @@ public class IndicatorSound.Service: Object {
this.settings.bind ("visible", this, "visible", SettingsBindFlags.GET);
this.notify["visible"].connect ( () => this.update_root_icon () );
+ this.volume_control = new VolumeControl ();
+
/* If we're on the greeter, don't export */
if (GLib.Environment.get_user_name() != "lightdm") {
this.accounts_service = new AccountsServiceUser();
@@ -37,8 +39,6 @@ public class IndicatorSound.Service: Object {
this.export_to_accounts_service = this.accounts_service.showDataOnGreeter;
}
- this.volume_control = new VolumeControl ();
-
this.players = playerlist;
this.players.player_added.connect (this.player_added);
this.players.player_removed.connect (this.player_removed);