naughty: Fix updating `naughty.widget.icon`.
It was never call, untested and obviously broken...
This commit is contained in:
parent
d5b652973f
commit
a69b6123b8
|
@ -153,10 +153,11 @@ local function new(args)
|
|||
gtable.crush(tb, icon, true)
|
||||
|
||||
function tb._private.icon_changed_callback()
|
||||
|
||||
local icn = gsurface.load_silently(tb._private.notification.icon)
|
||||
|
||||
if icn then
|
||||
tb:set_image()
|
||||
tb:set_image(icn)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue