[evince] ev-history-action: Use the new support for RTL icons in GtkIconTheme
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] ev-history-action: Use the new support for RTL icons in GtkIconTheme
- Date: Mon, 6 Oct 2014 12:27:43 +0000 (UTC)
commit 72ce19e456b49aef85a9bad0565605c423cfea0d
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Tue Sep 23 22:19:53 2014 +0300
ev-history-action: Use the new support for RTL icons in GtkIconTheme
https://bugzilla.gnome.org/show_bug.cgi?id=737211
shell/ev-history-action.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/shell/ev-history-action.c b/shell/ev-history-action.c
index 2d29cec..16722ef 100644
--- a/shell/ev-history-action.c
+++ b/shell/ev-history-action.c
@@ -208,9 +208,6 @@ ev_history_action_create_button (EvHistoryAction *history_action,
const gchar *icon_name = NULL;
const gchar *tooltip_text = NULL;
const gchar *action_name = NULL;
- gboolean rtl;
-
- rtl = (gtk_widget_get_direction (GTK_WIDGET (history_action)) == GTK_TEXT_DIR_RTL);
button = gtk_button_new ();
gtk_widget_set_valign (button, GTK_ALIGN_CENTER);
@@ -220,12 +217,12 @@ ev_history_action_create_button (EvHistoryAction *history_action,
switch (action_button) {
case EV_HISTORY_ACTION_BUTTON_BACK:
- icon_name = rtl ? "go-previous-rtl-symbolic" : "go-previous-symbolic";
+ icon_name = "go-previous-symbolic";
tooltip_text = _("Go to previous history item");
action_name = "win.go-back-history";
break;
case EV_HISTORY_ACTION_BUTTON_FORWARD:
- icon_name = rtl ? "go-next-rtl-symbolic" : "go-next-symbolic";
+ icon_name = "go-next-symbolic";
tooltip_text = _("Go to next history item");
action_name = "win.go-forward-history";
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]