aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-07 01:00:31 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-07 01:00:31 +0000
commit674719294af7449c52d93b1969aeebbaa9117cbe (patch)
tree5a0678ae9982c8a0bc7607d46a2b03b9d8738027 /lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py
parent181f1cdcee428f446da2a1d05976b7f1a75a8431 (diff)
downloadenigma2-674719294af7449c52d93b1969aeebbaa9117cbe.tar.gz
enigma2-674719294af7449c52d93b1969aeebbaa9117cbe.zip
take care of running recording before realy shutdown e2
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/SkinSelector/plugin.py5
1 files changed, 2 insertions, 3 deletions
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)