Example #1
0
 def __revokeEvent__(self, b):
     """
     @summary: Process to revoke or remove previous login
     @param b: Action associated with event. 
     """
     if (FactoryControls.getConfirmMessage(self.__trans__("Do you like remove stored user of Google?"),
                                           title=self.__trans__("Google remove"), parent=self, gtkLock=False,
                                           returnBoolean=True)):
         self.__session__.remove()
         self.__initData__()
Example #2
0
 def __loginEvent__(self, b):
     """
     @summary: Process login event.
     @param b: Action associated with event.
     """
     doLogin = True
     if (self.__fbsession__.isLogged()):
         doLogin = FactoryControls.getConfirmMessage(self.__trans__("You are signed up facebook\nDo you like sign up facebook?"),
                                                       title=self.__trans__("Facebook Sign Up"), parent=self, gtkLock=False,
                                                       returnBoolean=True)
     self.__fbsession__.login(self.__waitLogin__, forceLogin=doLogin)
Example #3
0
 def __loginEvent__(self, b):
     """
     @summary: Process login event.
     @param b: Action associated with event.
     """
     doLogin = True
     if (self.__session__.isLogged()):
         doLogin = FactoryControls.getConfirmMessage(self.__trans__("You are signed up Google\nDo you like change current user of Google?"),
                                                       title=self.__trans__("Google Sign In"), parent=self, gtkLock=False,
                                                       returnBoolean=True)
     self.__session__.login(parent=self, forceLogin=doLogin)
Example #4
0
 def __loginEvent__(self, b):
     """
     @summary: Process login event.
     @param b: Action associated with event.
     """
     doLogin = True
     if (self.__gdata__.isLogged()):
         doLogin = FactoryControls.getConfirmMessage(self.__trans__("You are signed in picasa\nDo you like sign in with another user in picasa?"),
                                                       title=self.__trans__("Picasa Sign In"), parent=self.__blockWindow__, gtkLock=False,
                                                       returnBoolean=True)
     self.__gdata__.login(parent=self, forceLogin=doLogin, store=False)