~alexeftimie/software-center/backend-refactor

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/app.py

  • Committer: Alex Eftimie
  • Date: 2011-08-10 12:08:29 UTC
  • Revision ID: alex@rosedu.org-20110810120829-5e0kvu1s1tryuix8
simplified transaction finished result

Show diffs side-by-side

added added

removed removed

Lines of Context:
615
615
                                                     self.db, self.icons):
616
616
                    # craft an instance of TransactionFinishedResult to send with the
617
617
                    # transaction-stopped signal
618
 
                    result = TransactionFinishedResult(None, None)
 
618
                    result = TransactionFinishedResult(None, False)
619
619
                    result.pkgname = app.pkgname
620
620
                    self.backend.emit("transaction-stopped", result)
621
621
                    return
627
627
                                                      self.db, self.icons):
628
628
                    # craft an instance of TransactionFinishedResult to send with the
629
629
                    # transaction-stopped signal
630
 
                    result = TransactionFinishedResult(None, None)
 
630
                    result = TransactionFinishedResult(None, False)
631
631
                    result.pkgname = app.pkgname
632
632
                    self.backend.emit("transaction-stopped", result)
633
633
                    return