[gnome-software] Drop RTL special casing for the back button
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Drop RTL special casing for the back button
- Date: Mon, 2 Jun 2014 21:32:09 +0000 (UTC)
commit 0db4bf757c6a4d42e3ad9591806db71a02697345
Author: Kalev Lember <kalevlember gmail com>
Date: Mon Jun 2 23:24:40 2014 +0200
Drop RTL special casing for the back button
With GTK+ 3.13.1, we can rely on GTK+ flipping the image itself
depending on the text direction of the locale.
configure.ac | 2 +-
src/gs-shell.c | 7 -------
2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 26114d8..a0b78fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ GLIB_GSETTINGS
dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
dnl ---------------------------------------------------------------------------
-PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.11.5 gio-unix-2.0)
+PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.13.1 gio-unix-2.0)
PKG_CHECK_MODULES(PACKAGEKIT, packagekit-glib2 >= 0.8.12)
PKG_CHECK_MODULES(APPSTREAM, appstream-glib >= 0.1.5)
PKG_CHECK_MODULES(SQLITE, sqlite3)
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 701b3f4..04bb60f 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -487,13 +487,6 @@ gs_shell_setup (GsShell *shell, GsPluginLoader *plugin_loader, GCancellable *can
gtk_window_set_titlebar (GTK_WINDOW (main_window), widget);
g_object_unref (widget);
- /* fix icon in RTL */
- if (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)
- {
- widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "back_image"));
- gtk_image_set_from_icon_name (GTK_IMAGE (widget), "go-previous-rtl-symbolic",
GTK_ICON_SIZE_MENU);
- }
-
/* global keynav */
g_signal_connect_after (main_window, "key_press_event",
G_CALLBACK (window_key_press_event), shell);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]