diff --git a/quodlibet/qltk/quodlibetwindow.py b/quodlibet/qltk/quodlibetwindow.py
index 64940fe65c..8222d7a57c 100644
--- a/quodlibet/qltk/quodlibetwindow.py
+++ b/quodlibet/qltk/quodlibetwindow.py
@@ -424,6 +424,7 @@ def __init__(self, parent):
+
@@ -957,6 +958,11 @@ def add_top_level_items(ag):
act.connect('activate', self.__next_song)
ag.add_action_with_accel(act, "period")
+ act = Action(name="Stop", label=_("Stop"),
+ icon_name=Icons.MEDIA_PLAYBACK_STOP)
+ act.connect('activate', self.__stop)
+ ag.add_action(act)
+
act = ToggleAction(name="StopAfter", label=_("Stop After This Song"))
ag.add_action_with_accel(act, "space")
@@ -1212,6 +1218,9 @@ def __song_started(self, player, song):
def __play_pause(self, *args):
app.player.playpause()
+ def __stop(self, *args):
+ app.player.stop()
+
def __jump_to_current(self, explicit, songlist=None, force_scroll=False):
"""Select/scroll to the current playing song in the playlist.
If it can't be found tell the browser to properly fill the playlist