aboutsummaryrefslogtreecommitdiff
path: root/src/media-player.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-player.vala')
-rw-r--r--src/media-player.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/media-player.vala b/src/media-player.vala
index 68a0b38..9c18f10 100644
--- a/src/media-player.vala
+++ b/src/media-player.vala
@@ -126,7 +126,9 @@ public class MediaPlayer: Object {
catch (Error e) {
warning ("unable to launch %s: %s", appinfo.get_name (), e.message);
}
- this.state = "Launching";
+
+ if (this.proxy == null)
+ this.state = "Launching";
}
/**