diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-15 16:20:49 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-15 16:20:49 +0100 |
| commit | 710f40bb42dbf86b53a2e1b4839af6f2d5be381d (patch) | |
| tree | a396a71c1b9d5438217e9bebc775def8febb64d3 /lib/python/Plugins/SystemPlugins/SoftwareManager | |
| parent | ea7540aaea403dd8b27ebee6e938b98088ec8627 (diff) | |
| download | enigma2-710f40bb42dbf86b53a2e1b4839af6f2d5be381d.tar.gz enigma2-710f40bb42dbf86b53a2e1b4839af6f2d5be381d.zip | |
add pluginlist reload, fix type (thx to Ali Abdul)
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SoftwareManager')
| -rwxr-xr-x | lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py index 14f9ee76..3215dbce 100755 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/plugin.py @@ -418,6 +418,7 @@ class PacketManager(Screen): self.cachelist[item] = [entry[0], entry[1], entry[2], 'installable'] self['list'].l.setList(self.list) write_cache(self.cache_file, self.cachelist) + self.reloadPluginlist() if result: quitMainloop(3) @@ -434,12 +435,13 @@ class PacketManager(Screen): if result is False: cur = self['list'].l.getCurrentSelection() if cur: - entry = [0] + entry = cur[0] item = self['list'].l.getCurrentSelectionIndex() self.list[item] = self.buildEntryComponent(entry[0], entry[1], entry[2], 'installed') self.cachelist[item] = [entry[0], entry[1], entry[2], 'installed'] self['list'].l.setList(self.list) write_cache(self.cache_file, self.cachelist) + self.reloadPluginlist() if result: quitMainloop(3) |
