Show
Ignore:
Timestamp:
06/13/08 15:57:37 (4 years ago)
Author:
gbooker
Message:

Changed the filtering method and the check for unwatched/favorite. This new system is far more powerful, and should actually be faster too. Implemented a bit more caching to help speed as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/Browser/SapphireBrowser.m

    r585 r588  
    310310                result = [SapphireFrontRowCompat textMenuItemForScene:scene folder:YES]; 
    311311                id <SapphireDirectory> meta = [metaData metaDataForDirectory:name]; 
    312                 watched = [meta watchedValue]; 
    313                 favorite = [meta favoriteValue]; 
     312                watched = ![meta containsFileMatchingPredicate:[SapphireApplianceController unwatchedPredicate]]; 
     313                favorite = [meta containsFileMatchingPredicate:[SapphireApplianceController favoritePredicate]]; 
    314314        } 
    315315        /*Check for a file next*/