|
|
@ -387,7 +387,7 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
|
|
|
|
button_max,
|
|
|
|
button_max,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
local checkbutton_auto_nl = CheckButton:new({
|
|
|
|
local checkbutton_auto_nl = CheckButton:new({
|
|
|
|
text = _("Automatic warmth"),
|
|
|
|
text = _("Auto"),
|
|
|
|
checked = self.powerd.auto_warmth,
|
|
|
|
checked = self.powerd.auto_warmth,
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
if self.powerd.auto_warmth then
|
|
|
|
if self.powerd.auto_warmth then
|
|
|
@ -402,7 +402,7 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
|
|
|
|
|
|
|
|
|
|
|
|
local text_auto_nl = TextBoxWidget:new{
|
|
|
|
local text_auto_nl = TextBoxWidget:new{
|
|
|
|
-- @TODO implement padding_right (etc.) on TextBoxWidget and remove the two-space hack
|
|
|
|
-- @TODO implement padding_right (etc.) on TextBoxWidget and remove the two-space hack
|
|
|
|
text = _("Maximum at:") .. " ",
|
|
|
|
text = _("Max. at:") .. " ",
|
|
|
|
face = self.larger_font_face,
|
|
|
|
face = self.larger_font_face,
|
|
|
|
alignment = "right",
|
|
|
|
alignment = "right",
|
|
|
|
fgcolor = self.powerd.auto_warmth and Blitbuffer.COLOR_BLACK or
|
|
|
|
fgcolor = self.powerd.auto_warmth and Blitbuffer.COLOR_BLACK or
|
|
|
|