From 2577f945d6450656e9da02f2e5f9910324190030 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 6 Nov 2009 12:45:46 +0100 Subject: [PATCH] naughty: convert
tag to \n Signed-off-by: Julien Danjou --- lib/naughty.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 590d29fd..2c5bda89 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -326,7 +326,7 @@ function notify(args) local textbox = capi.widget({ type = "textbox", align = "flex" }) textbox:buttons(util.table.join(button({ }, 1, run), button({ }, 3, die))) layout.margins[textbox] = { right = margin, left = margin, bottom = margin, top = margin } - textbox.text = string.format('%s%s', font, title, text) + textbox.text = string.format('%s%s', font, title, text:gsub("", "\n")) textbox.valign = "middle" -- create iconbox