--- a/Network/IRC/IrcNetworkManager.py Wed Dec 05 19:46:44 2012 +0100 +++ b/Network/IRC/IrcNetworkManager.py Thu Dec 06 19:40:03 2012 +0100 @@ -45,9 +45,6 @@ self.__rememberPosOnAway = True self.__awayMessage = IrcIdentity.DefaultAwayMessage - self.__autoAway = False - self.__autoAwayTimeout = 1 - self.__autoReturn = False self.__quitMessage = IrcIdentity.DefaultQuitMessage self.__partMessage = IrcIdentity.DefaultPartMessage @@ -68,9 +65,6 @@ settings.setValue("PartMessage", self.__partMessage) settings.setValue("RememberAwayPosition", self.__rememberPosOnAway) settings.setValue("AwayMessage", self.__awayMessage) - settings.setValue("AutoAway", self.__autoAway) - settings.setValue("AwayTimeout", self.__autoAwayTimeout) - settings.setValue("AutoReturn", self.__autoReturn) def load(self, settings): """ @@ -88,9 +82,6 @@ self.__rememberPosOnAway = Preferences.toBool( settings.value("RememberAwayPosition", True)) self.__awayMessage = settings.value("AwayMessage", IrcIdentity.DefaultAwayMessage) - self.__autoAway = Preferences.toBool(settings.value("AutoAway", False)) - self.__autoAwayTimeout = int(settings.value("AwayTimeout", 1)) - self.__autoReturn = Preferences.toBool(settings.value("AutoReturn", False)) def setName(self, name): """ @@ -261,54 +252,6 @@ """ return self.__awayMessage - def setAutoAway(self, on): - """ - Public method to set the auto away function. - - @param on flag indicating to enable the auto away function (boolean) - """ - self.__autoAway = on - - def autoAway(self): - """ - Public method to get the auto away flag. - - @return auto away flag (boolean) - """ - return self.__autoAway - - def setAutoAwayTimeout(self, minutes): - """ - Public method to set the auto away timeout. - - @param minutes auto away timeout in minutes (integer) - """ - self.__autoAwayTimeout = minutes - - def getAutoAwayTimeout(self): - """ - Public method to get the auto away timeout. - - @return auto away timeout in minutes (integer) - """ - return self.__autoAwayTimeout - - def setAutoReturn(self, on): - """ - Public method to set the auto return function. - - @param on flag indicating to enable the auto return function (boolean) - """ - self.__autoReturn = on - - def autoReturn(self): - """ - Public method to get the auto return flag. - - @return auto return flag (boolean) - """ - return self.__autoReturn - @classmethod def createDefaultIdentity(cls): """