summaryrefslogtreecommitdiff
path: root/nephilim/plugins/PlayControl.py
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-08-23 13:57:55 +0200
committerAnton Khirnov <wyskas@gmail.com>2009-08-23 20:27:36 +0200
commite15061c283aea38ee6fffba4e81663550586c6fe (patch)
tree53e185d9202571f8afa8449ee22275ca9ecfd068 /nephilim/plugins/PlayControl.py
parent94b55a0cfc9adb3110ba68e47d4981bea96bd1ed (diff)
mpclient: change info from function to var.
Diffstat (limited to 'nephilim/plugins/PlayControl.py')
-rw-r--r--nephilim/plugins/PlayControl.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nephilim/plugins/PlayControl.py b/nephilim/plugins/PlayControl.py
index b93dbdc..1338fea 100644
--- a/nephilim/plugins/PlayControl.py
+++ b/nephilim/plugins/PlayControl.py
@@ -141,6 +141,10 @@ class wgPlayControl(QtGui.QToolBar):
self.p.mpclient.set_volume(self.vol_slider.value())
class PlayControl(Plugin):
+ # public, const
+ info = 'Controls playback.'
+
+ # public, read-only
o = None
def _load(self):
@@ -149,5 +153,3 @@ class PlayControl(Plugin):
def _unload(self):
QtGui.QApplication.instance().main_win.removeToolBar(self.o)
self.o = None
- def getInfo(self):
- return "Have total control over the playing!"