def ExportPlaylistMenuItem(name, after, get_pl_func=generic_get_playlist_func): return menu.simple_menu_item( name, after, _('E_xport Playlist'), 'document-save-as', lambda w, n, o, c: dialogs.export_playlist_dialog(get_pl_func(o, c)), )
def ExportPlaylistMenuItem(name, after, get_pl_func=generic_get_playlist_func): return menu.simple_menu_item( name, after, _("Export Playlist"), "gtk-save", lambda w, n, o, c: dialogs.export_playlist_dialog(get_pl_func(o, c)), )
def export_playlist(self, playlist): """ Exports the selected playlist to path """ dialogs.export_playlist_dialog(playlist)