Beispiel #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()
Beispiel #2
0
    def on_close(self, widget=None, event=None):
        playlistCollection.save()
        library_playlist.save()

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

        Gtk.main_quit()