[libhandy/wip/haecker-felix/flap-widget] Fix RTL



commit efd8bf9137f7ea6f0b82c82a22cc579debd60639
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 24 17:55:41 2020 +0500

    Fix RTL

 src/hdy-flap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index 7461a31e..e395d53f 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -343,7 +343,7 @@ get_start_or_end (HdyFlap *self)
   gboolean is_rtl = direction == GTK_TEXT_DIR_RTL;
   gboolean is_horiz = self->orientation == GTK_ORIENTATION_HORIZONTAL;
 
-  return (is_rtl && !is_horiz) ? GTK_PACK_END : GTK_PACK_START;
+  return (is_rtl && is_horiz) ? GTK_PACK_END : GTK_PACK_START;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]