mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Don't allow multiline window titles
https://bugzilla.gnome.org/show_bug.cgi?id=683056
This commit is contained in:
parent
7e5fb3e1a0
commit
27e0e44d8b
@ -455,7 +455,8 @@ meta_frames_ensure_layout (MetaFrames *frames,
|
|||||||
|
|
||||||
pango_layout_set_ellipsize (frame->layout, PANGO_ELLIPSIZE_END);
|
pango_layout_set_ellipsize (frame->layout, PANGO_ELLIPSIZE_END);
|
||||||
pango_layout_set_auto_dir (frame->layout, FALSE);
|
pango_layout_set_auto_dir (frame->layout, FALSE);
|
||||||
|
pango_layout_set_single_paragraph_mode (frame->layout, TRUE);
|
||||||
|
|
||||||
font_desc = meta_gtk_widget_get_font_desc (widget, scale,
|
font_desc = meta_gtk_widget_get_font_desc (widget, scale,
|
||||||
meta_prefs_get_titlebar_font ());
|
meta_prefs_get_titlebar_font ());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user