awful.widget.launcher: export really new()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-27 21:55:41 +02:00
parent e0c56d36e6
commit c6a63d9250
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module("awful.widget.launcher")
-- @param args Standard widget table arguments, plus image for the image path -- @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. -- and command for the command to run on click, or either menu to create menu.
-- @return A launcher widget. -- @return A launcher widget.
local function new(args) function new(args)
if not args.command and not args.menu then return end if not args.command and not args.menu then return end
local w = wbutton(args) local w = wbutton(args)
if not w then return end if not w then return end