Merge branch 'wrap-message-titles' into 'main'

messageList: Always show the full message title

Closes #6841

See merge request GNOME/gnome-shell!2848
This commit is contained in:
Daniel van Vugt 2024-06-27 18:30:08 +00:00
commit 893618baac

View file

@ -473,6 +473,8 @@ export const Message = GObject.registerClass({
style_class: 'message-title',
y_align: Clutter.ActorAlign.END,
});
this.titleLabel.clutter_text.line_wrap = true;
this.titleLabel.clutter_text.line_wrap_mode = Pango.WrapMode.WORD_CHAR;
contentBox.add_child(this.titleLabel);
this._bodyLabel = new URLHighlighter('', true, this._useBodyMarkup);