diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-04-28 21:30:01 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-05-05 15:04:00 -0400 |
commit | 587308004c53439c9c6d770b8ef0bd45a94ca429 (patch) | |
tree | 4e727824ba9d7a0761ab79ed5f981199ae9c9502 | |
parent | 2ebad7ec2b07d82b89f73c0e34bd8725316d39e2 (diff) | |
download | gtk+-587308004c53439c9c6d770b8ef0bd45a94ca429.tar.gz |
expander: Reverse alignments in RTL
Flip alignments of the title gadget children.
-rw-r--r-- | gtk/gtkexpander.c | 2 |
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); } |