[totem] totem-grilo: Set button arrow icons according to locale's text direction
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] totem-grilo: Set button arrow icons according to locale's text direction
- Date: Wed, 31 Jul 2013 14:07:18 +0000 (UTC)
commit 55d7d204544d82933f604f8dafcf1b26a9af75a8
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Wed Jul 31 17:02:25 2013 +0300
totem-grilo: Set button arrow icons according to locale's text direction
go-previous-symbolic in LTR,
go-previous-rtl-symbolic in RTL.
https://bugzilla.gnome.org/show_bug.cgi?id=702631
src/plugins/grilo/totem-grilo.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 5e09a18..9db7869 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -47,6 +47,7 @@
#include <totem-private.h>
#include <totem-time-helpers.h>
+#include <totem-rtl-helpers.h>
#include "totem-search-entry.h"
#include <libgd/gd.h>
@@ -1178,7 +1179,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),
- "go-previous-symbolic");
+ totem_get_rtl_icon_name ("go-previous"));
gtk_widget_set_no_show_all (button, TRUE);
accessible = gtk_widget_get_accessible (button);
atk_object_set_name (accessible, _("Back"));
@@ -1188,7 +1189,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),
- "go-previous-symbolic");
+ totem_get_rtl_icon_name ("go-previous"));
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]