[totem/wip/hadess/fix-rtl-fs-toolbar] backend: Fix fullscreen toolbar's appearance in RTL languages



commit 55efb6248d6ca5f635fa6bbe23c2448f36918255
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 14 15:28:27 2019 +0100

    backend: Fix fullscreen toolbar's appearance in RTL languages
    
    Work-around clutter bug:
    https://gitlab.gnome.org/GNOME/clutter/issues/4
    
    Closes: #158

 src/backend/bacon-video-widget.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 7bfdebbf6..3c9666249 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -6171,6 +6171,8 @@ bacon_video_widget_initable_init (GInitable     *initable,
   bvw->priv->logo_mode = FALSE;
 
   bvw->priv->stage = gtk_clutter_embed_get_stage (GTK_CLUTTER_EMBED (bvw));
+  clutter_actor_set_text_direction (bvw->priv->stage,
+                                   CLUTTER_TEXT_DIRECTION_LTR);
   clutter_actor_set_layout_manager (bvw->priv->stage,
                                     clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL, 
CLUTTER_BIN_ALIGNMENT_FILL));
   clutter_actor_set_name (bvw->priv->stage, "stage");


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