Skip to content
  • Jonathon Jongsma's avatar
    Remove mail-config, vfolder, and filter deps from mail-folder-cache · 0eef4618
    Jonathon Jongsma authored
    Instead of pushing the updates to the right places, the folder cache simply
    emits the appropriate signals and other objects are responsible for listening
    and handling them appropriately.  This allows us to cut down the dependencies of
    MailFolderCache significantly, which is a huge step towards allowing us to split
    it off for the backend.
    
    Another nice thing about this is that it allows us to trim a lot of 'public' api
    from the filter, vfolder, and config classes that were only used by the cache.
    Now that stuff can all be internal since they're pulling changes rather than
    having the changes pushed.
    
    The last remaining problematic dependency in MailFolderCache is
    EmFolderTreeModel.  That is next on the chopping block.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=604627
    0eef4618