Removed some stray code

master
Mark 2022-04-24 09:10:20 -07:00
parent 50ac1bcfcb
commit 7ce340c4bb
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 0 additions and 3 deletions

View File

@ -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",