|
|
|
@ -25,7 +25,7 @@ from calculate.lib.utils.files import listDirectory
|
|
|
|
|
from calculate.lib.datavars import ReadonlyVariable, HumanReadable, \
|
|
|
|
|
ReadonlyTableVariable, FieldValue, VariableError, Variable, \
|
|
|
|
|
VariableInterface
|
|
|
|
|
from calculate.install.variables import system, X11, locale
|
|
|
|
|
from calculate.install.variables import system, X11, locale, audio
|
|
|
|
|
import builder
|
|
|
|
|
from action import Actions
|
|
|
|
|
|
|
|
|
@ -311,6 +311,18 @@ class VariableClBuilderX11VideoDrv(GrubOptionVariable,
|
|
|
|
|
return map(lambda x: (x, self.driver_names.get(x, x)), values)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClBuilderAudio(GrubOptionVariable, audio.VariableOsAudio):
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
def get(self):
|
|
|
|
|
return self.Get('install.os_audio')
|
|
|
|
|
|
|
|
|
|
def choice(self):
|
|
|
|
|
return (('pulseaudio', _("PulseAudio")),
|
|
|
|
|
('alsa', _('ALSA')))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class VariableClBuilderLocaleLang(GrubOptionVariable,
|
|
|
|
|
locale.VariableOsInstallLocaleLang):
|
|
|
|
|
pass
|
|
|
|
|