~facundo/encuentro/trunk

« back to all changes in this revision

Viewing changes to encuentro/ui/central_panel.py

  • Committer: Facundo Batista
  • Date: 2014-03-10 11:39:30 UTC
  • Revision ID: facundo@taniquetil.com.ar-20140310113930-3wdydohn4xj049eq
Do the prepare to filter only once.

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
 
371
371
    def set_filter(self, text, only_downloaded=False):
372
372
        """Apply a filter to the episodes list."""
 
373
        text = data.prepare_to_filter(text)
373
374
        for episode_id, item in self._item_map.iteritems():
374
375
            episode = self.main_window.programs_data[episode_id]
375
376