[totem] Revert "Set button arrow icons according to locale's text direction"



commit 0a0e46eb6b021217712643fbc09aed8eef31cc5d
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 1 16:35:44 2013 +0200

    Revert "Set button arrow icons according to locale's text direction"
    
    This reverts commit 250d4d3734c50573b8a97e5404de1f4774703ce8.

 src/plugins/grilo/totem-grilo.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index a4e7339..1a16eea 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -1278,9 +1278,6 @@ setup_browse (TotemGriloPlugin *self,
        GtkWidget *button;
        AtkObject *accessible;
        GtkAdjustment *adj;
-       gboolean rtl;
-
-       rtl = gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL;
 
        /* Search */
        self->priv->revealer = GTK_WIDGET (gtk_builder_get_object (builder, "gw_revealer"));
@@ -1299,7 +1296,7 @@ setup_browse (TotemGriloPlugin *self,
        self->priv->header = GTK_WIDGET (gtk_builder_get_object (builder, "gw_headerbar"));
        self->priv->back_button = button = gd_header_simple_button_new ();
        gd_header_button_set_symbolic_icon_name (GD_HEADER_BUTTON (button),
-                                                rtl ? "go-previous-rtl-symbolic" : "go-previous-symbolic");
+                                                "go-previous-symbolic");
        gtk_widget_set_no_show_all (button, TRUE);
        accessible = gtk_widget_get_accessible (button);
        atk_object_set_name (accessible, _("Back"));
@@ -1309,7 +1306,7 @@ setup_browse (TotemGriloPlugin *self,
 #if 0
        self->priv->search_button = button = gd_header_simple_button_new ();
        gd_header_button_set_symbolic_icon_name (GD_HEADER_BUTTON (button),
-                                                rtl ? "go-previous-rtl-symbolic" : "go-previous-symbolic");
+                                                "go-previous-symbolic");
        gtk_widget_set_no_show_all (button, TRUE);
        accessible = gtk_widget_get_accessible (button);
        atk_object_set_name (accessible, _("Back"));


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