[gnome-control-center/gnome-3-8] region: Set button arrow icons according to locale's text direction
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] region: Set button arrow icons according to locale's text direction
- Date: Wed, 5 Jun 2013 09:26:40 +0000 (UTC)
commit af5f4f2d78d89ea84920c74ec74bdfb33b70867b
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Jun 5 11:21:10 2013 +0200
region: Set button arrow icons according to locale's text direction
https://bugzilla.gnome.org/show_bug.cgi?id=700543
panels/region/cc-input-chooser.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index e8330ae..e2439dc 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -38,9 +38,6 @@
#define INPUT_SOURCE_TYPE_XKB "xkb"
#define INPUT_SOURCE_TYPE_IBUS "ibus"
-#define ARROW_NEXT "go-next-symbolic"
-#define ARROW_PREV "go-previous-symbolic"
-
#define MAIN_WINDOW_WIDTH_RATIO 0.60
#define FILTER_TIMEOUT 150 /* ms */
@@ -142,7 +139,7 @@ padded_label_new (const gchar *text,
if (direction == ROW_TRAVEL_DIRECTION_BACKWARD)
{
- arrow = gtk_image_new_from_icon_name (rtl ? ARROW_NEXT : ARROW_PREV,
+ arrow = gtk_image_new_from_icon_name (rtl ? "go-previous-rtl-symbolic" : "go-previous-symbolic",
GTK_ICON_SIZE_MENU);
gtk_box_pack_start (GTK_BOX (widget), arrow, FALSE, TRUE, 0);
}
@@ -156,7 +153,7 @@ padded_label_new (const gchar *text,
if (direction == ROW_TRAVEL_DIRECTION_FORWARD)
{
- arrow = gtk_image_new_from_icon_name (rtl ? ARROW_PREV : ARROW_NEXT,
+ arrow = gtk_image_new_from_icon_name (rtl ? "go-next-rtl-symbolic" : "go-next-symbolic",
GTK_ICON_SIZE_MENU);
gtk_box_pack_start (GTK_BOX (widget), arrow, FALSE, TRUE, 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]