allow changing titlebar offset / font by skin
[enigma2.git] / Navigation.py
index 705083f69baf68fe8e5e0c23a34a61e03f4b9d3f..8ff1be0cc3d7327f94817b53b434fb836c9f44a5 100644 (file)
@@ -21,7 +21,6 @@ class Navigation:
                self.event = [ ]
                self.currentlyPlayingService = None
                self.currentlyPlayingServiceReference = None
-               self.lastServiceRef = None
                
                self.RecordTimer = RecordTimer.RecordTimer()
 
@@ -30,7 +29,7 @@ class Navigation:
                        x(i)
        
        def playService(self, ref):
-               self.lastServiceRef = self.currentlyPlayingServiceReference
+               print "playing", ref
                self.currentlyPlayingServiceReference = None
                if ref is None:
                        self.stopService()
@@ -41,9 +40,6 @@ class Navigation:
                        return 0
                return 1
        
-       def zapLast(self):
-               return self.playService(self.lastServiceRef)
-       
        def getCurrentlyPlayingServiceReference(self):
                return self.currentlyPlayingServiceReference
        
@@ -82,6 +78,7 @@ class Navigation:
        
        def shutdown(self):
                self.RecordTimer.shutdown()
+               del self.pnav
 
        def stopUserServices(self):
                self.stopService()