fix typo
[enigma2.git] / lib / python / Screens / PluginBrowser.py
index 86f4a6b97c9c23b8f75a7768c1d3c7377ff41394..e40dc8a6d484827e41e1f3a8f3b0321193e37a96 100644 (file)
@@ -68,6 +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.onShown.append(self.setTitle)
                
                self.list = []
                self["list"] = PluginList(self.list)
@@ -100,11 +101,13 @@ class PluginDownloadBrowser(Screen):
                        elif self.type == self.REMOVE:
                                self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + self.pluginlist[self["list"].l.getCurrentSelectionIndex()][0]])
 
-       def startRun(self):
+       def setTitle(self):
                if self.type == self.DOWNLOAD:
-                       self.session.currentDialog.instance.setTitle(_("Downloadale new plugins"))
+                       self.session.currentDialog.instance.setTitle(_("Downloadable new plugins"))
                elif self.type == self.REMOVE:
                        self.session.currentDialog.instance.setTitle(_("Remove plugins"))
+
+       def startRun(self):
                self["list"].instance.hide()
                self.container.execute("ipkg update")