mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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:
parent
5194df842c
commit
45966f581b
@ -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>
|
2007-05-25 Yair Hershkovitz <yairhr@yahoo.com>
|
||||||
|
|
||||||
* src/workspace.c (meta_workspace_get_neighbor): Add support
|
* src/workspace.c (meta_workspace_get_neighbor): Add support
|
||||||
|
@ -482,6 +482,8 @@ meta_frames_ensure_layout (MetaFrames *frames,
|
|||||||
|
|
||||||
frame->layout = gtk_widget_create_pango_layout (widget, frame->title);
|
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,
|
font_desc = meta_gtk_widget_get_font_desc (widget, scale,
|
||||||
meta_prefs_get_titlebar_font ());
|
meta_prefs_get_titlebar_font ());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user