diff options
author | Yosef Or Boczko <yoseforb@gmail.com> | 2022-03-20 00:43:57 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-04-21 19:14:03 -0400 |
commit | a5eeb99f37eba088455214fb6d3b5183101400c1 (patch) | |
tree | 0d92364fe28a2d5028013a061c693c786987d5db | |
parent | 52cb3b2ec402b391e908cc14a01449b4d19021c0 (diff) | |
download | gtk+-a5eeb99f37eba088455214fb6d3b5183101400c1.tar.gz |
popover-menu: Fix buttons' position in RTL
The radio/check/previous buttons shows in
the wrong place in RTL. Fix it.
#4641
Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
-rw-r--r-- | gtk/gtkmodelbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmodelbutton.c b/gtk/gtkmodelbutton.c index bde7e31c1b..27b5fd6e3f 100644 --- a/gtk/gtkmodelbutton.c +++ b/gtk/gtkmodelbutton.c @@ -379,8 +379,8 @@ update_node_ordering (GtkModelButton *button) gtk_widget_insert_before (button->end_indicator, GTK_WIDGET (button), child); child = gtk_widget_get_last_child (GTK_WIDGET (button)); - if (child != button->start_box) - gtk_widget_insert_after (button->start_box, GTK_WIDGET (button), child); + if (button->end_indicator && child != button->end_indicator) + gtk_widget_insert_after (button->end_indicator, GTK_WIDGET (button), child); } } |