~mmcg069/software-center/appview-buy-button

« back to all changes in this revision

Viewing changes to softwarecenter/view/appview.py

* softwarecenter/view/catview_gtk.py:
  - fix a missing glib.markup_escape_text()
* softwarecenter/backend/aptd.py:
  - don't crash on cancelling policykit auths (LP: #634697)
* softwarecenter/view/appview.py:
  - don't crash on searches containing ", " (LP: #634549)

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
                    if term.startswith("AP"):
249
249
                        pkgname = term[2:]
250
250
                        break
251
 
                app = Application("", pkgname)
252
 
                self.apps.append(app)
 
251
                if pkgname:
 
252
                    app = Application("", pkgname)
 
253
                    self.apps.append(app)
253
254
                
254
255
        # if we only have nonapps to be displayed, don't hide them
255
256
        if (not self.nonapps_visible and