summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog6
-rw-r--r--src/frames.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b620e93..02e983e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2007-05-25 Yair Hershkovitz <yairhr@yahoo.com>
* src/workspace.c (meta_workspace_get_neighbor): Add support
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 ());