Skip to content

Commit

Permalink
Sound applet: Close menu when closing media player.
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Nov 19, 2015
1 parent 7384c43 commit 5370476
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -311,6 +311,7 @@ Player.prototype = {
if (this._mediaServer.CanQuit) {
let btn = new ControlButton("window-close", _("Quit Player"), Lang.bind(this, function(){
this._mediaServer.QuitRemote();
this._applet.menu.close();
}), true);
playerBox.add_actor(btn.actor, { expand: true, x_fill: false, x_align: St.Align.END });
}
Expand Down

0 comments on commit 5370476

Please sign in to comment.