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/AlbumCover.py | |
parent | 94b55a0cfc9adb3110ba68e47d4981bea96bd1ed (diff) |
mpclient: change info from function to var.
Diffstat (limited to 'nephilim/plugins/AlbumCover.py')
-rw-r--r-- | nephilim/plugins/AlbumCover.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index 737e466..db4d6f8 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -95,6 +95,9 @@ class AlbumCoverWidget(QtGui.QLabel): self.plugin.refresh() class AlbumCover(Plugin): + # public, constant + info = 'Display the album cover of the currently playing album.' + # public, read-only o = None @@ -319,7 +322,7 @@ class AlbumCover(Plugin): self.o = None self.mpclient.song_changed.disconnect(self.refresh) def info(self): - return "Display the album cover of the currently playing album." + return def refresh(self): self.logger.info('Autorefreshing cover.') |