diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-02 17:54:12 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-02 17:54:12 +0200 |
commit | ba80753bb0a79f052f007c6e614732afac88e3ad (patch) | |
tree | 712b7df53e5b4639a463da34c9687caf07bfb76b /src/metadata-menu-item.vala | |
parent | e6779eca9277231ee59c6441bf6982599a0d611e (diff) | |
download | ayatana-indicator-sound-ba80753bb0a79f052f007c6e614732afac88e3ad.tar.gz ayatana-indicator-sound-ba80753bb0a79f052f007c6e614732afac88e3ad.tar.bz2 ayatana-indicator-sound-ba80753bb0a79f052f007c6e614732afac88e3ad.zip |
PlayerActivator: Use BAMF to find the windows to activate with timestamp
Improved the"old" GtkApplicationPlayer, using BAMF as a fallback method to
activate an application's windows. Basically we try to get the windows of the
selected application and when found we focus them using the activation
timestamp.
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r-- | src/metadata-menu-item.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala index a81c143..f4a7e68 100644 --- a/src/metadata-menu-item.vala +++ b/src/metadata-menu-item.vala @@ -177,7 +177,7 @@ public class MetadataMenuitem : PlayerItem this.owner.instantiate(timestamp); } else if (this.owner.current_state == PlayerController.state.CONNECTED) { - this.owner.gtk_app_player.activate(timestamp); + this.owner.player_activator.activate(timestamp); this.owner.mpris_bridge.expose(timestamp); } } |