]> Pileus Git - ~andy/gtk/commit
Make GtkWidget::halign RTL-save
authorMatthias Clasen <mclasen@redhat.com>
Wed, 30 Mar 2011 06:25:12 +0000 (02:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 30 Mar 2011 14:34:02 +0000 (10:34 -0400)
commitb2f872112a2a8d8dd915650718c70889ef0d0c8b
tree3e5d815e8b0a33d3910062c014f40d9e3bc5280f
parent9334f177904173eb542c135997bea327df1c2485
Make GtkWidget::halign RTL-save

This commit makes GTK_ALIGN_START/_END pay attention to
the text direction when used in horizontal context.

This is how similar parameters in GtkMisc and GtkAlignment work,
and is generally expected of GTK+ positioning parameters. And this
is new GTK+ 3 api, so it is basically still unused at this point.

If explicit right/left turn out to be needed at some point, we
can expand the enumeration with new values.
gtk/gtkenums.h
gtk/gtkwidget.c
tests/testadjustsize.c
tests/testexpand.c