awful.widget.launcher: export really new()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
e0c56d36e6
commit
c6a63d9250
|
@ -16,7 +16,7 @@ module("awful.widget.launcher")
|
|||
-- @param args Standard widget table arguments, plus image for the image path
|
||||
-- and command for the command to run on click, or either menu to create menu.
|
||||
-- @return A launcher widget.
|
||||
local function new(args)
|
||||
function new(args)
|
||||
if not args.command and not args.menu then return end
|
||||
local w = wbutton(args)
|
||||
if not w then return end
|
||||
|
|
Loading…
Reference in New Issue