From 27e0e44d8be7ab1f786bdc654c093a184aab5705 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 30 Aug 2012 15:38:40 -0400 Subject: [PATCH] Don't allow multiline window titles https://bugzilla.gnome.org/show_bug.cgi?id=683056 --- src/ui/frames.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index 6178c3fe3..d9dc29ee1 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -455,7 +455,8 @@ meta_frames_ensure_layout (MetaFrames *frames, pango_layout_set_ellipsize (frame->layout, PANGO_ELLIPSIZE_END); 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, meta_prefs_get_titlebar_font ());