summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Thurman <thomas@thurman.org.uk>2007-06-03 06:26:29 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2007-06-03 06:26:29 +0000
commit45966f581bcaa63a95d66e7ef68c73a0e970d8fe (patch)
treea99cdaf318bd2af9f3fd8da9abc2d4bf078d8b9c /src
parent5194df842c06269c1ae690368384f7759c842b32 (diff)
downloadmetacity-45966f581bcaa63a95d66e7ef68c73a0e970d8fe.tar.gz
Pango layout for titlebars should take LTR/RTL-ness from the underlying
2007-06-03 Thomas Thurman <thomas@thurman.org.uk> * src/frames.c (meta_frames_ensure_layout): Pango layout for titlebars should take LTR/RTL-ness from the underlying widget and not from sniffing the content. Closes #438944. svn path=/trunk/; revision=3227
Diffstat (limited to 'src')
-rw-r--r--src/frames.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frames.c b/src/frames.c
index 623563bb..14a0b1e1 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -481,6 +481,8 @@ meta_frames_ensure_layout (MetaFrames *frames,
flags);
frame->layout = gtk_widget_create_pango_layout (widget, frame->title);
+
+ pango_layout_set_auto_dir (frame->layout, FALSE);
font_desc = meta_gtk_widget_get_font_desc (widget, scale,
meta_prefs_get_titlebar_font ());