[gnome-games] ui: Remove a sort invalidation in CollectionIconView



commit 25ec1014d37bcccb68f1980c7b2356cb71c45a95
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun May 7 16:59:31 2017 +0200

    ui: Remove a sort invalidation in CollectionIconView
    
    Don't invalidate the sorting after adding new games as it seems that
    FlowBox already add them sorted and hence is always sorted.
    
    This roughly doubles the loading time on my fairly large collection.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773881

 src/ui/collection-icon-view.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index 3bb5f98..59cc50f 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -72,8 +72,6 @@ private class Games.CollectionIconView : Gtk.Stack {
                        add_game (game);
                }
 
-               flow_box.invalidate_sort ();
-
                update_collection ();
        }
 


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