Fix top panel
This commit is contained in:
parent
4b6b00859e
commit
b7b4b6409e
|
@ -125,7 +125,6 @@ local function list_update(w, buttons, label, data, objects)
|
|||
else
|
||||
-- truncate when title is too long
|
||||
local text_only = text:match('>(.*)<')
|
||||
local naughty = require("naughty")
|
||||
if (text_only:len() > 25) then
|
||||
text = text:gsub('>(.*)<', '>' .. text_only:sub(1, 25) .. '...<')
|
||||
tt:set_text(text_only)
|
||||
|
|
Loading…
Reference in New Issue