forked from AuroraMiddleware/gtk
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>
This commit is contained in:
parent
a585457861
commit
33f3ab9991
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user