Fix top panel

This commit is contained in:
Thomas Avé 2022-07-21 15:46:19 +02:00
parent 4b6b00859e
commit b7b4b6409e
1 changed files with 0 additions and 1 deletions

View File

@ -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)