From 45966f581bcaa63a95d66e7ef68c73a0e970d8fe Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Sun, 3 Jun 2007 06:26:29 +0000 Subject: [PATCH] Pango layout for titlebars should take LTR/RTL-ness from the underlying 2007-06-03 Thomas Thurman * 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 --- ChangeLog | 6 ++++++ src/frames.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7b620e935..02e983e75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-03 Thomas Thurman + + * 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. + 2007-05-25 Yair Hershkovitz * src/workspace.c (meta_workspace_get_neighbor): Add support diff --git a/src/frames.c b/src/frames.c index 623563bb6..14a0b1e1f 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 ());