Esempio n. 1
0
    def _close_button_click(self, event):
        # Remove temp files
        if os.path.exists(tmp_dir):
            rmtree(tmp_dir)

        playlistCollection.save()
        library_playlist.save()

        Gtk.main_quit()
Esempio n. 2
0
    def on_close(self, widget=None, event=None):
        playlistCollection.save()
        library_playlist.save()

        Gtk.main_quit()
Esempio n. 3
0
    def on_close(self, widget=None, event=None):
        playlistCollection.save()
        library_playlist.save()

        Gtk.main_quit()