Fixed a few typos
parent
4755b90666
commit
27828772eb
|
@ -49,12 +49,13 @@ function P:_update_widget()
|
||||||
if (not self.ready) then
|
if (not self.ready) then
|
||||||
self.widget.icon.image = beautiful.icons.volume.error
|
self.widget.icon.image = beautiful.icons.volume.error
|
||||||
self.widget.arc.value = 100;
|
self.widget.arc.value = 100;
|
||||||
self.widget.bar.value = 100;
|
--self.widget.bar.value = 100;
|
||||||
|
self.widget.tooltip.text = "Volume error"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
self.widget.arc.value = self.volume / 100;
|
self.widget.arc.value = self.volume / 100;
|
||||||
v.widget.tooltip.text = "Volume " .. self.volume .. "%"
|
self.widget.tooltip.text = "Volume " .. self.volume .. "%"
|
||||||
--self.widget.bar.value = self.volume;
|
--self.widget.bar.value = self.volume;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue