aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-03-30 20:15:23 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-03-30 20:15:23 +0100
commite6779eca9277231ee59c6441bf6982599a0d611e (patch)
tree25c0ad66b22998c528c05aabcd6d4e9edaf30b1e /src/metadata-menu-item.vala
parentfab924562a7db79a96ec367d28601fd6433e9c51 (diff)
downloadayatana-indicator-sound-e6779eca9277231ee59c6441bf6982599a0d611e.tar.gz
ayatana-indicator-sound-e6779eca9277231ee59c6441bf6982599a0d611e.tar.bz2
ayatana-indicator-sound-e6779eca9277231ee59c6441bf6982599a0d611e.zip
PlayerController use GtkApplicationPlayer and activate it when we need to raise
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r--src/metadata-menu-item.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index bcd4378..a81c143 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -176,7 +176,8 @@ public class MetadataMenuitem : PlayerItem
{
this.owner.instantiate(timestamp);
}
- else if(this.owner.current_state == PlayerController.state.CONNECTED){
+ else if (this.owner.current_state == PlayerController.state.CONNECTED) {
+ this.owner.gtk_app_player.activate(timestamp);
this.owner.mpris_bridge.expose(timestamp);
}
}