From 10194a885f07b7d024aa806515a13588263d71e7 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 23 Feb 2006 02:21:03 +0000 Subject: some changes --- lib/python/Screens/PluginBrowser.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/Screens/PluginBrowser.py') diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index e40dc8a6..75599c2b 100644 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -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)) -- cgit v1.2.3