~ralsina/ubuntu-sso-client/fix_805461

« back to all changes in this revision

Viewing changes to ubuntu_sso/qt/controllers.py

  • Committer: ralsina
  • Date: 2011-07-04 19:53:52 UTC
  • Revision ID: roberto.alsina@canonical.com-20110704195352-cx92zrfz4hcgzukz
Style fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
        logger.debug('EmailVerificationController._set_titles')
485
485
        self.view.setTitle(VERIFY_EMAIL_TITLE)
486
486
        self.view.setSubTitle(VERIFY_EMAIL_CONTENT % {
487
 
            "app_name" : self.view.wizard().app_name,
488
 
            "email" : self.view.wizard().field("email_address").toString(),
 
487
            "app_name": self.view.wizard().app_name,
 
488
            "email": self.view.wizard().field("email_address").toString(),
489
489
            })
490
490
 
491
491
    def set_titles(self):
492
492
        """This class needs to have a public set_titles.
493
 
        
 
493
 
494
494
        Since the subtitle contains data that is only known after SetupAccount
495
 
        and _set_titles is only called on initialization.        
 
495
        and _set_titles is only called on initialization.
496
496
        """
497
497
        self._set_titles()
498
 
            
 
498
 
499
499
    #pylint: disable=C0103
500
500
    @inlineCallbacks
501
501
    def setupUi(self, view):