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
This commit is contained in:
Thomas Thurman 2007-06-03 06:26:29 +00:00 committed by Thomas James Alexander Thurman
parent 5194df842c
commit 45966f581b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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 ());