aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-21 16:57:59 -0600
committerTed Gould <ted@gould.cx>2014-02-21 16:57:59 -0600
commitd42cb160a6823f34b478aab7c50a8b2247be0cf4 (patch)
treeb705f2f6ec47eb39a6267ba49b01435ff58862ad
parentb8e644e88161501bce35b6d866c58bcc147abd94 (diff)
downloadayatana-indicator-sound-d42cb160a6823f34b478aab7c50a8b2247be0cf4.tar.gz
ayatana-indicator-sound-d42cb160a6823f34b478aab7c50a8b2247be0cf4.tar.bz2
ayatana-indicator-sound-d42cb160a6823f34b478aab7c50a8b2247be0cf4.zip
Add a todo and adjust running
-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;