예제 #1
0
파일: Wizard.py 프로젝트: OpenDMM/enigma2
	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)
예제 #2
0
	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()
예제 #3
0
파일: Wizard.py 프로젝트: aitchala/enigma2
 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)
예제 #4
0
	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()