[gtk+] Use the new support for RTL icons in GtkIconTheme



commit c543a14c5b1010d099bdb70b8c8ab90e0ab3515c
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Wed May 21 17:45:38 2014 +0300

    Use the new support for RTL icons in GtkIconTheme
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730526

 gtk/gtksearchentry.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index a43f7c7..745dffd 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -196,10 +196,7 @@ gtk_search_entry_changed (GtkEditable *editable)
     }
   else
     {
-      if (gtk_widget_get_direction (GTK_WIDGET (entry)) == GTK_TEXT_DIR_RTL)
-        icon_name = "edit-clear-rtl-symbolic";
-      else
-        icon_name = "edit-clear-symbolic";
+      icon_name = "edit-clear-symbolic";
       cleared = FALSE;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]