From e6a4c204ab674989332b4f41cc31787bc36282af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?= Date: Sun, 4 Jan 2026 12:22:41 -0500 Subject: [PATCH] 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 --- src/gui/gcal-calendar-list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gcal-calendar-list.c b/src/gui/gcal-calendar-list.c index 1a98b4ea..08fdd3af 100644 --- a/src/gui/gcal-calendar-list.c +++ b/src/gui/gcal-calendar-list.c @@ -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,