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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user