~and471/software-center/fix-524289

« back to all changes in this revision

Viewing changes to softwarecenter/app.py

  • Committer: Gary Lasker
  • Date: 2010-07-16 05:35:23 UTC
  • mto: (858.2.51 buy-something)
  • mto: This revision was merged to the branch mainline in revision 980.
  • Revision ID: gary.lasker@canonical.com-20100716053523-jdk11wm20ti52km1
auto-switch to the Previous Purchases node after it is added

Show diffs side-by-side

added added

removed removed

Lines of Context:
415
415
        query = add_from_purchased_but_needs_reinstall_data(result_list, 
416
416
                                                           self.db,
417
417
                                                           self.cache)
 
418
        channel_display_name = _("Previous Purchases")
418
419
        self.view_switcher.get_model().channel_manager.add_channel(
419
 
            _("Previous Purchases"), icon=None, query=query)
420
 
        # FIXME: switch to the new channel
 
420
            channel_display_name, icon=None, query=query)
 
421
        self.view_switcher.select_channel_node(channel_display_name, False)
421
422
            
422
423
    def on_application_request_action(self, widget, app, action):
423
424
        """callback when an app action is requested from the appview,