switch: Respect text direction
authorSergey Bugaev <bugaevc@gmail.com>
Thu, 14 Sep 2023 16:04:24 +0000 (19:04 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2023 20:32:27 +0000 (16:32 -0400)
commit86d2bf746ce99433fe5d4b46f701ed6a6d5db756
tree826978f30b76ad164a2683099d2ef50632dc03c9
parentca02190e4754b4f0e440bdb853f24bcb5c4b91fb
switch: Respect text direction

In RTL, we want the active state to mean the handle is on the left.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1489

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
gtk/gtkswitch.c