Skip to content

Commit

Permalink
ellipsize taskbar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
LBCrion committed Dec 26, 2020
1 parent e76baa2 commit fef3adb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/taskbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fef3adb

Please sign in to comment.