~ubuntu-branches/ubuntu/oneiric/software-center/oneiric-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Gary Lasker, Gabor Kelemen, Michael Vogt
  • Date: 2012-01-10 09:52:09 UTC
  • Revision ID: package-import@ubuntu.com-20120110095209-azemh01192lhijr3
Tags: 5.0.4
[ Gary Lasker ]
* lp:~gary-lasker/software-center/fix-lp891499-for-5.0:
  - be more robust about problems reading the cataloged_times file 
    as problems here can hang the UI (LP: #891499)

[ Gabor Kelemen ]
* lp:~kelemeng/software-center/bug869935:
  - Update help translations from Launchpad (LP: #869935)
* lp:~kelemeng/software-center/bug880757:
  - Mark strings containing the “ character as Unicode, to fix 
    their translations. LP: #880757

[ Michael Vogt ]
* fix cache opening to improve startup time 
* lp:~mvo/software-center/icon-data-for-5.0:
  - remove the need for inline icon data from the agent, instead
    download icons directly using the provided URL (LP: #914054)

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        while Gtk.events_pending():
104
104
            Gtk.main_iteration()
105
105
 
106
 
        # open the cache since we are initializing the UI for the first time    
107
 
        GObject.idle_add(self.cache.open)
108
 
        
109
106
        SoftwarePane.init_view(self)
110
107
        # set the AppTreeView model, available pane uses list models
111
108
        liststore = AppListStore(self.db, self.cache, self.icons)
117
114
        # setup purchase stuff
118
115
        self.app_details_view.connect("purchase-requested",
119
116
                                      self.on_purchase_requested)
 
117
        liststore.connect(
 
118
            "needs-refresh", lambda helper, pkgname: self.app_view.queue_draw())
 
119
 
120
120
        # purchase view
121
121
        self.purchase_view = PurchaseView()
122
122
        self.purchase_view.connect("purchase-succeeded", self.on_purchase_succeeded)