1
# Copyright (C) 2006 Adam Olsen
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 1, or (at your option)
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
from xlgui.prefs import widgets
19
from xl.nls import gettext as _
20
from xlgui import commondialogs
23
glade = xdg.get_data_path('glade/playlists_prefs_pane.glade')
25
class OpenLastPreference(widgets.CheckPrefsItem):
27
name = 'playlist/open_last'
29
class AskSaveCustomPlaylistPreference(widgets.CheckPrefsItem):
31
name = 'playlist/ask_save'
33
#class QueueSavePreferences(widgets.CheckPrefsItem):
35
# name = 'playlist/save_queue'
37
# def change(self, *e):
38
# commondialogs.error(self.prefs.window, "Doesn't work yet")