~pitti/software-center/gi-fixes

« back to all changes in this revision

Viewing changes to softwarecenter/db/update.py

  • Committer: Michael Vogt
  • Date: 2011-08-18 16:36:07 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110818163607-8iyu0gtl2ypub2he
* softwarecenter/ui/gtk3/models/appstore2.py,
  softwarecenter/ui/gtk3/views/catview_gtk.py,
  softwarecenter/ui/gtk3/widgets/buttons.py:
  - show (raw) categories info in the FeaturedTile()

Show diffs side-by-side

added added

removed removed

Lines of Context:
661
661
        # write out categories
662
662
        for cat in parser.get_desktop_categories():
663
663
            doc.add_term("AC"+cat.lower())
 
664
        categories_string = ";".join(parser.get_desktop_categories())
 
665
        doc.add_value(XapianValues.CATEGORIES, categories_string)
664
666
        for mime in parser.get_desktop_mimetypes():
665
667
            doc.add_term("AM"+mime.lower())
666
668
        # get type (to distinguish between apps and packages