From 674719294af7449c52d93b1969aeebbaa9117cbe Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sun, 7 Jan 2007 01:00:31 +0000 Subject: take care of running recording before realy shutdown e2 --- lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py') diff --git a/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py b/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py index b0418de0..adeff071 100755 --- a/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py @@ -2,6 +2,7 @@ # (c) 2006 Stephan Reichholf # This Software is Free, use it where you want, when you want for whatever you want and modify it if you want but don't remove my copyright! from Screens.Screen import Screen +from Screens.Standby import TryQuitMainloop from Screens.MessageBox import MessageBox from Components.ActionMap import NumberActionMap from Components.Pixmap import Pixmap @@ -12,7 +13,6 @@ from Tools.Directories import SCOPE_SKIN from Components.config import config from os import path, walk -from enigma import quitMainloop class SkinSelector(Screen): # for i18n: @@ -33,7 +33,6 @@ class SkinSelector(Screen): Screen.__init__(self, session) self.skinlist = [] - self.session = session self.previewPath = "" path.walk(self.root, self.find, "") @@ -114,7 +113,7 @@ class SkinSelector(Screen): def restartGUI(self, answer): if answer is True: - quitMainloop(3) + self.session.open(TryQuitMainloop, 3) def SkinSelMain(session, **kwargs): session.open(SkinSelector) -- cgit v1.2.3