• Debarshi Ray's avatar
    Support creating BaseItems with thumbnailing turned off · f9898dfa
    Debarshi Ray authored
    A subsequent patch will directly use the BaseItem to query the
    GFileInfo, instead of creating a GFile out of the URI. This is
    required to transparently query the state of the thumbnail across
    different BaseItem sub-classes that might have different thumbnail
    caches.
    
    To do so, various bits of the search provider need to use the BaseItem
    API instead of directly parsing the TrackerSparqlCursor and creating a
    GFile out of the URI. Since the search provider shouldn't initiate
    thumbnailing, it's necessary to be able to create BaseItems with
    thumbnailing turned off.
    
    https://gitlab.gnome.org/GNOME/gnome-photos/issues/29
    f9898dfa
photos-collection-icon-watcher.c 14.1 KB