Set image using widget property rather than method

This is the documented behaviour in awesome 4.x
This commit is contained in:
Stefano Mazzucco 2019-05-08 15:17:25 +01:00
parent fbb711bac3
commit 9a2b6f8ab5
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function widget:update_appearance(v)
end
end
self:set_image(i)
self.image = i
self.tooltip:set_text(msg)
end