gui/calendar-list: Ellipsize long headers labels

This prevents long calendar accounts' names from breaking the whole UI.

Fixes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1531
This commit is contained in:
Jean-François Fortin Tam
2026-01-06 10:53:48 -05:00
parent ce26a9b8e1
commit e6a4c204ab
+1
View File
@@ -183,6 +183,7 @@ update_header_func (GtkListBoxRow *row,
header = g_object_new (GTK_TYPE_LABEL,
"label", e_source_get_display_name (parent),
"css-classes", (const gchar * const []) { "heading", NULL },
"ellipsize", PANGO_ELLIPSIZE_END,
"xalign", 0.0,
"margin-top", 18,
"margin-bottom", 6,