• Carlos Soriano Sánchez's avatar
    views: add flow box based view · 1d166b5e
    Carlos Soriano Sánchez authored
    After all the rework on the window slots, views, and splitting
    the desktop, we are finally able to add a flow box based view for
    Nautilus.
    
    The GtkFlowBox is still not performance enough to be added as the
    default view, not even as an alternative in the user preferences.
    However, since the work on this is one of the biggest for Nautilus and
    gtk+, the decision was to merge a prototype in order to open the
    development, testing and iteration of the code in order to make it
    good enough for, in a not so far away future, have it as the main view.
    
    The work merged is not finished, and is an experiment and prototype in
    more things than just the GtkFlowBox, we want to create a single shared
    model with a complete MVC pattern between all the views. This will need
    quite a few iterations to get it right, but once is done right, I hope
    it's going to be good enough as an example to any application that wants
    multiple types of views with the new widgets of gtk+.
    
    This patch adds the GtkFlowBox view to be optionally used under a
    gsetting called use-experimental-views, turned off by default.
    1d166b5e
nautilus-view-model.h 1.76 KB