From 6c2ba5c5bfff0446b6043ebfa606680106be8083 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Sun, 3 Jan 2010 13:47:42 +0100 Subject: [PATCH] Stop playback when shutting down the application --- jamaui/ui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jamaui/ui.py b/jamaui/ui.py index da81b10..9b6300d 100644 --- a/jamaui/ui.py +++ b/jamaui/ui.py @@ -195,6 +195,9 @@ class Jamaui(object): def destroy(self, widget): postoffice.disconnect('request-album-cover', self) self.save_settings() + from player import the_player + if the_player: + the_player.stop() gtk.main_quit() def show_about(self, w, win): -- 1.7.9.5