some changes
[enigma2.git] / lib / python / Screens / PluginBrowser.py
index e40dc8a6d484827e41e1f3a8f3b0321193e37a96..75599c2bf922d3613abc842e9c9caedd78988817 100644 (file)
@@ -112,7 +112,9 @@ class PluginDownloadBrowser(Screen):
                self.container.execute("ipkg update")
                
        def installFinished(self):
+               plugins.clearPluginList()
                plugins.readPluginList(resolveFilename(SCOPE_PLUGINS))
+               self.close()
                
        def runFinished(self, retval):
                if self.run == 0:
@@ -137,6 +139,7 @@ class PluginDownloadBrowser(Screen):
                                self.pluginlist.append(plugin)
        
        def updateList(self):
+               self.list = []
                for x in self.pluginlist:
                        plugin = PluginDescriptor(name = x[3], description = x[2])
                        self.list.append(PluginEntryComponent(plugin))