setTitle is now a Screen method
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 2 Mar 2006 03:53:24 +0000 (03:53 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 2 Mar 2006 03:53:24 +0000 (03:53 +0000)
lib/python/Screens/PluginBrowser.py

index 46661ca143b5e857b6d140953dc61fcbe5f06fc4..16f3aadd32774abbc8a0d49c0dd786453f83a606 100644 (file)
@@ -68,7 +68,7 @@ class PluginDownloadBrowser(Screen):
                self.container.appClosed.get().append(self.runFinished)
                self.container.dataAvail.get().append(self.dataAvail)
                self.onLayoutFinish.append(self.startRun)
                self.container.appClosed.get().append(self.runFinished)
                self.container.dataAvail.get().append(self.dataAvail)
                self.onLayoutFinish.append(self.startRun)
-               self.onShown.append(self.setTitle)
+               self.onShown.append(self.setWindowTitle)
                
                self.list = []
                self["list"] = PluginList(self.list)
                
                self.list = []
                self["list"] = PluginList(self.list)
@@ -108,7 +108,7 @@ class PluginDownloadBrowser(Screen):
                        elif self.type == self.REMOVE:
                                self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
 
                        elif self.type == self.REMOVE:
                                self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
 
-       def setTitle(self):
+       def setWindowTitle(self):
                if self.type == self.DOWNLOAD:
                        self.setTitle(_("Downloadable new plugins"))
                elif self.type == self.REMOVE:
                if self.type == self.DOWNLOAD:
                        self.setTitle(_("Downloadable new plugins"))
                elif self.type == self.REMOVE: