summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-08-30 15:38:40 -0400
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-01-07 13:14:16 +0200
commit31b4c06d26567d666df5804fe869a35930bd896d (patch)
tree37dde57e4ed626f445568a43a1138092c0064c9f
parent1703f2aeba9bf6317196d9393a2c1515937858ae (diff)
downloadmetacity-31b4c06d26567d666df5804fe869a35930bd896d.tar.gz
Don't allow multiline window titles
https://bugzilla.gnome.org/show_bug.cgi?id=683056
-rw-r--r--src/ui/frames.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index bfe468e0..cb13c7fa 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -572,6 +572,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 ());