Removed some stray code
parent
50ac1bcfcb
commit
7ce340c4bb
|
@ -58,10 +58,8 @@ function P:_update_widget()
|
||||||
end
|
end
|
||||||
|
|
||||||
self.widget:set_value(self.volume);
|
self.widget:set_value(self.volume);
|
||||||
self.widget:set_state(self.muted)
|
|
||||||
self.widget:set_tooltip("Volume " .. self.volume .. "%");
|
self.widget:set_tooltip("Volume " .. self.volume .. "%");
|
||||||
|
|
||||||
|
|
||||||
if (self.muted) then
|
if (self.muted) then
|
||||||
self.widget:set_state("muted")
|
self.widget:set_state("muted")
|
||||||
else
|
else
|
||||||
|
@ -172,7 +170,6 @@ function P:new(args)
|
||||||
pa_options = args.cli_options or "",
|
pa_options = args.cli_options or "",
|
||||||
pa_sink = args.pa_sink or "",
|
pa_sink = args.pa_sink or "",
|
||||||
update_interval = args.update_interal or 5,
|
update_interval = args.update_interal or 5,
|
||||||
enable_tooltip = args.enable_tooltip or true,
|
|
||||||
max_value = args.max_value or 100,
|
max_value = args.max_value or 100,
|
||||||
widget_type = args.widget_type or "arc",
|
widget_type = args.widget_type or "arc",
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue