widget: Rewrite the checkbox as a 'real' widget

It was previously an image used by imagebox. This doesn't
support multi DPI and was an artefact of Awesome 3.4.
This commit is contained in:
Emmanuel Lepage Vallee 2016-07-04 04:14:52 -04:00
parent 9be99465f2
commit 7600e4b888
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
-- Do some evil monkeypatching for upstreamable widgets
local wibox = require("wibox")
wibox.layout.grid = require("radical.widgets.grid")
wibox.layout.grid = require( "radical.widgets.grid" )
wibox.widget.checkbox = require( "radical.widgets.checkbox" )
return {
checkbox = require( "radical.widgets.checkbox" ),