[nautilus] list-view: don't use gtk_tree_view_set_rules_hint



commit adcb152b569cc351ebdf7b2c67871bc3cc4c7a9f
Author: Alexandru Pandelea <alexandru pandelea gmail com>
Date:   Fri Feb 26 05:52:50 2016 +0200

    list-view: don't use gtk_tree_view_set_rules_hint
    
    The reason why gtk_tree_view_set_rules_hint was removed is that it is
    deprecated. It is not needed anymore as themes can do this with CSS.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762249

 src/nautilus-list-view.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index b6af6ed..f867d9c 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1664,7 +1664,6 @@ create_and_set_up_tree_view (NautilusListView *view)
                                 G_CALLBACK (get_icon_scale_callback), view, 0);
 
        gtk_tree_selection_set_mode (gtk_tree_view_get_selection (view->details->tree_view), 
GTK_SELECTION_MULTIPLE);
-       gtk_tree_view_set_rules_hint (view->details->tree_view, TRUE);
 
        g_settings_bind (nautilus_list_view_preferences, NAUTILUS_PREFERENCES_LIST_VIEW_USE_TREE,
                         view->details->tree_view, "show-expanders",


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