aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-user.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-player-user.vala')
-rw-r--r--src/media-player-user.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/media-player-user.vala b/src/media-player-user.vala
index 658b466..6c948ad 100644
--- a/src/media-player-user.vala
+++ b/src/media-player-user.vala
@@ -46,6 +46,7 @@ public abstract class MediaPlayerUser : MediaPlayer {
try {
this.proxy = Bus.get_proxy.end (res);
/* TODO: Update settings */
+ /* TODO: Setup setting notification */
} catch (Error e) {
this.proxy = null;
warning("Unable to get proxy to user '%s' sound settings: %s", username, e.message);
@@ -105,7 +106,7 @@ public abstract class MediaPlayerUser : MediaPlayer {
}
public override string dbus_name { get { return ""; } }
- public override bool is_running { get { return true; } }
+ public override bool is_running { get { return proxy_is_valid(); } }
public override bool can_raise { get { return false; } }
MediaPlayer.Track track_cache;