Esempio n. 1
0
 def doSetNickname(self, *args, **kwargs):
     """
     Action method.
     """
     self.nickname = args[0] if (args and args[0]) else (
         settings.getNickName() or my_id.getLocalIdentity().getIDName())
     settings.setNickName(self.nickname)
Esempio n. 2
0
 def doSetNickname(self, arg):
     """
     Action method.
     """
     self.nickname = arg or \
         settings.getNickName() or \
         my_id.getLocalIdentity().getIDName()
     settings.setNickName(self.nickname)