Notification support in TaskView
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 11 Jun 2008 00:04:10 +0000 (00:04 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 11 Jun 2008 00:04:10 +0000 (00:04 +0000)
lib/python/Screens/TaskView.py

index 299c0fa2cee83d05e0716cd15144d6bf3e39515f..fce0ac37a3d2f2361c51bec1a591a74f6133a2be 100644 (file)
@@ -1,12 +1,14 @@
 from Screen import Screen
+from InfoBarGenerics import InfoBarNotifications
 
-class JobView(Screen):
+class JobView(InfoBarNotifications, Screen):
        def __init__(self, session, job, cancelable = True, close_on_finish = False):
                from Components.Sources.StaticText import StaticText
                from Components.Sources.Progress import Progress
                from Components.Sources.Boolean import Boolean
                from Components.ActionMap import ActionMap
                Screen.__init__(self, session)
+               InfoBarNotifications.__init__(self)
                self.job = job
                self.close_on_finish = close_on_finish
                self.cancelable = cancelable