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



commit 02d92ff8311b8ecb84746ab009bc61a716ebaa8c
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Wed May 21 17:50:37 2014 +0300

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

 gtk/inspector/signals-list.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/inspector/signals-list.c b/gtk/inspector/signals-list.c
index 95b8aad..d15fab5 100644
--- a/gtk/inspector/signals-list.c
+++ b/gtk/inspector/signals-list.c
@@ -178,8 +178,7 @@ gtk_inspector_signals_list_init (GtkInspectorSignalsList *sl)
   sl->priv = gtk_inspector_signals_list_get_instance_private (sl);
   gtk_widget_init_template (GTK_WIDGET (sl));
 
-  gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (sl->priv->clear_button),
-    gtk_widget_get_direction (GTK_WIDGET (sl)) == GTK_TEXT_DIR_RTL ? "edit-clear-rtl-symbolic" : 
"edit-clear-symbolic");
+  gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (sl->priv->clear_button), "edit-clear-symbolic");
 
   gtk_tree_view_column_set_cell_data_func (sl->priv->count_column,
                                            sl->priv->count_renderer,


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