~ubuntu-branches/ubuntu/precise/software-center/precise

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/panes/softwarepane.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, Gary Lasker
  • Date: 2012-03-30 18:00:50 UTC
  • Revision ID: package-import@ubuntu.com-20120330180050-vuoqiczj131r9tgh
Tags: 5.1.14
[ Michael Vogt ]
* lp:~mvo/software-center/lp962580:
  - add locking to the expunge helper process to fix bugs that are triggered
    if multiple expunge cache processes are run (LP: #962580)
* lp:~mvo/software-center/cache-refresh-glitch:
  - ensure that we get a full refresh if a pkg was not available before
    show_app is called
* lp:~mvo/software-center/lp940482:
  - fix crash if the debfile does not return proper utf8 for the
    description (LP: #940482)
* lp:~mvo/software-center/lp966514:
  - properly handle network disconnect conditions with the Ubuntu
    SSO dialog (LP: #966514)
* lp:~mvo/software-center/lp966879:
  - fix for crashes in the installed view treeview (LP: #966879,
    LP: #950899)
* lp:~mvo/software-center/lp846204:
  - fix ValueError crashes in get_iter due to invalid tree paths
    (LP: #846204)
* lp:~mvo/software-center/lp964433:
  - disconnect the model from the view before calling set_from_matches
    (LP: #964433)
* lp:~mvo/software-center/treeview-keep-state-on-db-cache-change:
 - restore the state of the installed view treeview when the
   the db or cache changes, such as on an app install or remove
* lp:~mvo/software-center/946393:
 - fix installing multiple apps when in a custom list view (LP: #946393)
* lp:~mvo/software-center/lp969050:
 - disconnect the view when the model is cleared to avoid a furry of
   cursor_changed signals as the rows get removed (LP: #969050)

[ Gary Lasker ]
* lp:~gary-lasker/software-center/installed-pane-refresh:
  - avoid rebuilding the treeview in the installedpane if its not
    required (LP: #828887)
* lp:~gary-lasker/software-center/fix-crash-lp967036:
  - Small branch to fix a crash due to a UnicodeDecodeError when accessing 
    the short description for H/W requirements (LP: #967036)
* lp:~gary-lasker/software-center/fix-crash-lp935930:
  - fix a crash due to a UnicodeDecodeError (LP: #935930)

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
    def on_cache_ready(self, cache):
255
255
        " refresh the application list when the cache is re-opened "
256
256
        LOG.debug("on_cache_ready")
257
 
        # it only makes sense to refresh if there is something to
258
 
        # refresh, otherwise we create a bunch of (not yet needed)
259
 
        # AppStore objects on startup when the cache sends its
260
 
        # initial "cache-ready" signal
261
 
        model = self.app_view.tree_view.get_model()
262
 
        if model is None:
263
 
            return
264
 
        # FIXME: preserve selection too
265
 
        self.refresh_apps()
266
257
 
267
258
    @wait_for_apt_cache_ready
268
259
    def on_application_activated(self, appview, app):