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



commit 9bcac0b241f4271ceaf19997498baa4e7ae74118
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]