diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-28 09:21:57 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-28 09:21:57 +0000 |
| commit | d5cacc98a3f6f21cb03e29bf5dac733c710cc49d (patch) | |
| tree | 525410da99197c0611d83c349507376e56a64cdb /lib/python/Plugins/Plugin.py | |
| parent | 77899dbcdd418844bb0749eeb2538b87eed4c83f (diff) | |
| download | enigma2-d5cacc98a3f6f21cb03e29bf5dac733c710cc49d.tar.gz enigma2-d5cacc98a3f6f21cb03e29bf5dac733c710cc49d.zip | |
use categories to categorize the plugins
Diffstat (limited to 'lib/python/Plugins/Plugin.py')
| -rw-r--r-- | lib/python/Plugins/Plugin.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index 4b5b7e2a..3db70397 100644 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -34,8 +34,11 @@ class PluginDescriptor: self.where = [ where ] self.description = description - self.iconstr = icon - self.icon = None + if type(icon) is str or icon is None: + self.iconstr = icon + self.icon = None + else: + self.icon = icon self.__call__ = fnc |
