awful.button: fix typo in image creation
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5977408e34
commit
99227dff1b
|
@ -393,7 +393,7 @@ function button(args)
|
|||
if not args or not args.image then return end
|
||||
local img_release
|
||||
if type(args.image) == "string" then
|
||||
img_release = image(args.image)
|
||||
img_release = capi.image(args.image)
|
||||
elseif type(args.image) == "image" then
|
||||
img_release = args.image
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue