summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-28 21:30:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-05-05 15:04:00 -0400
commit587308004c53439c9c6d770b8ef0bd45a94ca429 (patch)
tree4e727824ba9d7a0761ab79ed5f981199ae9c9502
parent2ebad7ec2b07d82b89f73c0e34bd8725316d39e2 (diff)
downloadgtk+-587308004c53439c9c6d770b8ef0bd45a94ca429.tar.gz
expander: Reverse alignments in RTL
Flip alignments of the title gadget children.
-rw-r--r--gtk/gtkexpander.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 3f32da4f85..14063637c3 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -789,6 +789,8 @@ gtk_expander_direction_changed (GtkWidget *widget,
gtk_box_gadget_set_allocate_reverse (GTK_BOX_GADGET (priv->title_gadget),
gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL);
+ gtk_box_gadget_set_align_reverse (GTK_BOX_GADGET (priv->title_gadget),
+ gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL);
GTK_WIDGET_CLASS (gtk_expander_parent_class)->direction_changed (widget, previous_direction);
}