~ubuntu-branches/ubuntu/quantal/software-center/quantal-updates

« back to all changes in this revision

Viewing changes to apt-xapian-index-plugin/software-center.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, Gary Lasker
  • Date: 2012-04-26 09:47:19 UTC
  • mfrom: (165.1.2 oneiric-proposed)
  • Revision ID: package-import@ubuntu.com-20120426094719-bfgnscq3kiqogbvj
Tags: 5.2.1
[ Michael Vogt ]
* lp:~mvo/software-center/lp977179:
  - make the review UI react correctly to conditions of network
    availability (LP: #977179)
* lp:~mvo/software-center/fix-crash-deb-file-size-calc:
  - fix crash when installing a deb file that is not found in
    the current apt cache
* lp:~mvo/software-center/lp981992:
  - fix a crash in the new a11y code if there is a row that has
    no data or is not yet preloaded (LP: #981992)
* lp:~mvo/software-center/fix-gmenu-searcher:
  - fix the menu searcher for non-Unity configurations after
    the app-install-data-ubuntu file layout changed
* lp:~mvo/software-center/lp808455:
  - trivial fix for crash on downstream distros (LP: #808455)
* lp:~mvo/software-center/lp927262:
  - fix crash when get_vadjustment() returns None (LP: #927262)
* lp:~mvo/software-center/utf8-fixes:
  - fix various utf8-related crashes (LP: #943500, LP: #922225,
    LP: #917755)
* lp:~mvo/software-center/gwibber-utf8-lp985255:
  - fix a utf8 crash in the gwibber integration (LP: #985255)
* lp:~mvo/software-center/workaround-gtk-regression-lp986186:
  - workaround performance issue with the Gtk.TreeView.set_model()
    call when there is a cell_data_func attached. Not every user is
    affected (settings dependant somehow), but when affected it causes
    a massive performance degration for huge list models like "System"
    (LP: #986186). This branch works around the problem by disconnecting
    the cell_data_func before setting the new model.
* lp:~mvo/software-center/fix-clear-credentials-race:
  - fix an incorrect use of the sso dbus backend, we now correctly
    wait until it emits a CredentialsCleared signal (LP: #986117)

[ Gary Lasker ]
* lp:~gary-lasker/software-center/add-to-launcher-after-auth-lp972710:
  - fix bug where an application will be added to the Unity launcher
    in the case where the user cancels the installation auth dialog
    (LP: #972710)
* lp:~gary-lasker/software-center/recommendations-sso-login-lp973612:
  - fix bug where the recommendations opt-in panel is hidden if
    the user declines the SSO dialog after opting in (LP: #973612)
  - fix the user experience if the user has previously opted-in to
    recommendations and their SSO token is found have been removed
    or revoked or otherwise found to be invalid (LP: #967064)
  - improve the responsiveness of the spinner in the recommendations
    flow 

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
            # calculate the url and add it (but only if there actually is
113
113
            # a url)
114
114
            try:
115
 
                url = get_distro().get_downloadable_icon_url(ver.uri, icon)
116
 
                document.add_value(XapianValues.ICON_URL, url)
 
115
                distro = get_distro()
 
116
                if distro:
 
117
                    base_uri = ver.uri
 
118
                    # new python-apt returns None instead of StopIteration
 
119
                    if base_uri:
 
120
                        url = distro.get_downloadable_icon_url(base_uri, icon)
 
121
                        document.add_value(XapianValues.ICON_URL, url)
117
122
            except StopIteration:
118
123
                pass
119
124
        if CustomKeys.SCREENSHOT_URLS in ver.record: