[gnome-control-center] shell: Use the new support for RTL icons in GtkIconTheme
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Use the new support for RTL icons in GtkIconTheme
- Date: Fri, 23 May 2014 09:41:25 +0000 (UTC)
commit bc7fddb01e0aa83a240e59984959b931fe5ec6ac
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Fri May 23 12:31:25 2014 +0300
shell: Use the new support for RTL icons in GtkIconTheme
https://bugzilla.gnome.org/show_bug.cgi?id=730597
shell/cc-window.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 8da4645..ec66098 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -1476,9 +1476,6 @@ create_header (CcWindow *self)
CcWindowPrivate *priv = self->priv;
GtkWidget *image;
AtkObject *accessible;
- gboolean rtl;
-
- rtl = (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL);
priv->header = gtk_header_bar_new ();
gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (priv->header), TRUE);
@@ -1486,9 +1483,7 @@ create_header (CcWindow *self)
priv->header_sizegroup = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
/* previous button */
- priv->previous_button = gtk_button_new_from_icon_name (rtl ? "go-previous-rtl-symbolic" :
- "go-previous-symbolic",
- GTK_ICON_SIZE_MENU);
+ priv->previous_button = gtk_button_new_from_icon_name ("go-previous-symbolic", GTK_ICON_SIZE_MENU);
gtk_widget_set_valign (priv->previous_button, GTK_ALIGN_CENTER);
gtk_widget_set_no_show_all (priv->previous_button, TRUE);
accessible = gtk_widget_get_accessible (priv->previous_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]