From 8712be7265732472ac79f0c77bf3f2f13912dbb5 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 14 Oct 2010 21:17:02 +0200 Subject: [PATCH] awful.widget.prompt: Fix error display This has to use :set_text() now. Signed-off-by: Uli Schlachter --- lib/awful/widget/prompt.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/widget/prompt.lua.in b/lib/awful/widget/prompt.lua.in index 9570bbd2..1702ca23 100644 --- a/lib/awful/widget/prompt.lua.in +++ b/lib/awful/widget/prompt.lua.in @@ -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,