~osomon/software-center/progress_bar_no_text

« back to all changes in this revision

Viewing changes to softwarecenter/view/availablepane.py

  • Committer: Michael Vogt
  • Date: 2010-04-16 20:30:48 UTC
  • Revision ID: michael.vogt@ubuntu.com-20100416203048-onbeo5p571ryqh2i
softwarecenter/view/availablepane.py: remove leftover app-list-changed signal, this is done async now

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
            self.refresh_apps()
398
398
 
399
399
        self.notebook.set_current_page(self.PAGE_APPLIST)
400
 
        model = self.app_view.get_model()
401
 
        if model is not None:
402
 
            self.emit("app-list-changed", len(model))
 
400
        # do not emit app-list-changed here, this is done async when
 
401
        # the new model is ready
403
402
        self.searchentry.show()
404
403
        return
405
404
 
461
460
            category.name, self.on_navigation_list_subcategory, self.NAV_BUTTON_ID_SUBCAT)
462
461
 
463
462
    def on_category_activated(self, cat_view, category):
 
463
        """ callback when a category is selected """
464
464
        #print cat_view, name, query
465
465
        logging.debug("on_category_activated: %s %s" % (
466
466
                category.name, category))