>From indicator-sound source code:
media-player-mpris.vala:
/**
* Activate the associated media player.
*
* Note: this will _not_ call attach(), because it doesn't know on which
dbus-name the player will appear.
* Use attach() to attach this object to a running instance of the player.
*/
public override void activate () {
try {
if (this.proxy == null) {
this.appinfo.launch (null, null);
this.state = "Launching";
}
else if (this.root != null && this.root.CanRaise) {
this.root.Raise ();
}
}
catch (Error e) {
warning ("unable to activate %s: %s", appinfo.get_name (),
e.message);
}
}
media-player-user.vala:
public override void activate () {
/* TODO: */
}
** Changed in: unity8 (Ubuntu)
Status: Triaged => Invalid
** Changed in: unity8 (Ubuntu)
Assignee: Lukáš Tinkl (lukas-kde) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541781
Title:
[indicators] Players in sound indicator are not launched when clicking
in its icon
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1541781/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs