diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-08-23 13:57:55 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-08-23 20:27:36 +0200 |
commit | e15061c283aea38ee6fffba4e81663550586c6fe (patch) | |
tree | 53e185d9202571f8afa8449ee22275ca9ecfd068 /nephilim/plugins/Systray.py | |
parent | 94b55a0cfc9adb3110ba68e47d4981bea96bd1ed (diff) |
mpclient: change info from function to var.
Diffstat (limited to 'nephilim/plugins/Systray.py')
-rw-r--r-- | nephilim/plugins/Systray.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nephilim/plugins/Systray.py b/nephilim/plugins/Systray.py index b786d45..c909b4b 100644 --- a/nephilim/plugins/Systray.py +++ b/nephilim/plugins/Systray.py @@ -23,7 +23,13 @@ from ..plugin import Plugin from ..common import sec2min, APPNAME, appIcon, expand_tags class Systray(Plugin): + # public, const + info = 'Provides the systray icon.' + + # public, read-only o = None + + # private format = None eventObj = None DEFAULTS = {'format': '$track - $title by $artist on $album ($length)'} @@ -55,8 +61,6 @@ class Systray(Plugin): self.o.setIcon(QtGui.QIcon(None)) self.o = None self.parent()._wheelEvent = None - def getInfo(self): - return "Display the mpclientpc icon in the systray." def update(self): status = self.mpclient.status() |