~computer-janitor-hackers/systemcleaner/intrepid-sru-1-proposal

« back to all changes in this revision

Viewing changes to cruftremover/ui_gtk.py

  • Committer: Lars Wirzenius
  • Date: 2008-11-07 13:53:30 UTC
  • mfrom: (114.1.5 sru-2-01-whitelist)
  • Revision ID: liw@achmed-20081107135330-y0ogusafwcm6ahux
Merged change to implement basic whitelist support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
            for cruft in plugins[i].get_cruft():
64
64
                list.append(cruft)
 
65
        
 
66
        list = self.ui.app.remove_whitelisted(list)
65
67
        list = [(cruft.get_name(), cruft) for cruft in list]
66
68
        list.sort()
67
69
        list = [cruft for name, cruft in list]