From fef3adb90931e12cacf09566e5042a1701944e80 Mon Sep 17 00:00:00 2001 From: Lev Babiev Date: Sat, 26 Dec 2020 20:08:08 +0000 Subject: [PATCH] ellipsize taskbar buttons --- src/taskbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/taskbar.c b/src/taskbar.c index dbede718..df52daec 100644 --- a/src/taskbar.c +++ b/src/taskbar.c @@ -131,6 +131,7 @@ void taskbar_update_window (struct ipc_event *ev, struct context *context) if(context->features & F_TB_LABEL) { button->label = gtk_label_new(ev->title); + gtk_label_set_ellipsize (GTK_LABEL(button->label),PANGO_ELLIPSIZE_END); gtk_container_add(GTK_CONTAINER(box),button->label); }