예제 #1
0
파일: plugin.py 프로젝트: tzyy1970/enigma2
 def keyclose(self):
     setAnimation_current(config.misc.window_animation_default.value)
     setAnimation_speed(int(config.misc.window_animation_speed.value))
     if not getBrandOEM() == 'gigablue':
         setAnimation_current_listbox(
             int(config.misc.listbox_animation_default.value))
     self.close()
예제 #2
0
 def keyGreen(self):
     config.misc.window_animation_speed.save()
     setAnimation_speed(int(config.misc.window_animation_speed.value))
     config.misc.listbox_animation_default.save()
     setAnimation_current_listbox(
         int(config.misc.listbox_animation_default.value))
     self.close()
예제 #3
0
	def keyGreen(self):
		config.misc.window_animation_speed.save()
		setAnimation_speed(int(config.misc.window_animation_speed.value))
		setAnimation_speed(int(config.misc.window_animation_speed.value))
		config.misc.listbox_animation_default.save()
		setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))
		self.close()
예제 #4
0
	def keyGreen(self):
		config.misc.window_animation_speed.save()
		setAnimation_speed(int(config.misc.window_animation_speed.value))
		config.misc.listbox_animation_default.save()
		if not getBoxBrand() == 'gigablue':
			setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))
		self.close()
예제 #5
0
	def ok(self):
		current = self["list"].getCurrent()
		if current:
			key = current[1]
			config.misc.window_animation_default.value = key
			config.misc.window_animation_default.save()
			setAnimation_current(key)
			setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))
		self.close()
예제 #6
0
파일: plugin.py 프로젝트: vuteam/tt2
	def ok(self):
		current = self["list"].getCurrent()
		if current:
			key = current[1]
			config.misc.window_animation_default.value = key
			config.misc.window_animation_default.save()
			setAnimation_current(key)
			setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))
		self.close()
예제 #7
0
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))
	setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))

	global g_orig_show, g_orig_doClose
	if g_orig_show is None:
		g_orig_show = Screen.show
	if g_orig_doClose is None:
		g_orig_doClose = Screen.doClose
	Screen.show = screen_show
	Screen.doClose = screen_doClose
예제 #8
0
파일: plugin.py 프로젝트: vuteam/tt2
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))
	setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))

	global g_orig_show, g_orig_doClose
	if g_orig_show is None:
		g_orig_show = Screen.show
	if g_orig_doClose is None:
		g_orig_doClose = Screen.doClose
	Screen.show = screen_show
	Screen.doClose = screen_doClose