def _initAnimation(self): import Screens.AnimationSetup # needed to initialize config.osd.window_animation_default if config.osd.window_animation_default.value == "_-disabled-_": from enigma import eWindowAnimationManager eWindowAnimationManager.setDefault() #disable animations after wizard self.setNoAnimations() #disable animations in wizard self.setShowHideAnimation(self.__nextStepAnimation)
def _ok(self): current = self._getCurrent() if current: key = current[1] config.osd.window_animation_default.value = key config.osd.window_animation_default.save() eWindowAnimationManager.setDefault(key) self.close()
def _initAnimation(self): import Screens.AnimationSetup # needed to initialize config.osd.window_animation_default if config.osd.window_animation_default.value == "_-disabled-_": from enigma import eWindowAnimationManager eWindowAnimationManager.setDefault( ) #disable animations after wizard self.setNoAnimations() #disable animations in wizard self.setShowHideAnimation(self.__nextStepAnimation)