awful.widget.prompt: Fix error display

This has to use :set_text() now.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-10-14 21:17:02 +02:00
parent 16d90af91d
commit 8712be7265

View file

@ -23,7 +23,7 @@ local function run(promptbox)
function (...)
local result = util.spawn(...)
if type(result) == "string" then
promptbox.widget.text = result
promptbox.widget:set_text(result)
end
end,
completion.shell,