diff options
author | Thomas Thurman <thomas@thurman.org.uk> | 2007-06-03 06:26:29 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2007-06-03 06:26:29 +0000 |
commit | 45966f581bcaa63a95d66e7ef68c73a0e970d8fe (patch) | |
tree | a99cdaf318bd2af9f3fd8da9abc2d4bf078d8b9c /src | |
parent | 5194df842c06269c1ae690368384f7759c842b32 (diff) | |
download | metacity-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.c | 2 |
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 ()); |