summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Lyrics.py
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-08-16 13:17:45 +0200
committerAnton Khirnov <wyskas@gmail.com>2009-08-16 13:17:45 +0200
commitdd3897d14cd1a91fcb81e7c7d97d8ce5889f0a36 (patch)
treef58e943da7629d78adf69fe3007f49faf1e09469 /nephilim/plugins/Lyrics.py
parentc9c8572394c661792839727b29e467104efa0581 (diff)
Lyrics: add a refresh action to toolbar
also add all the icons for previous actions.
Diffstat (limited to 'nephilim/plugins/Lyrics.py')
-rw-r--r--nephilim/plugins/Lyrics.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py
index f1bd7f6..1fc1537 100644
--- a/nephilim/plugins/Lyrics.py
+++ b/nephilim/plugins/Lyrics.py
@@ -57,6 +57,7 @@ class wgLyrics(QtGui.QWidget):
self.__toolbar = QtGui.QToolBar('Lyrics toolbar', self)
self.__toolbar.setOrientation(QtCore.Qt.Vertical)
+ self.__toolbar.addAction(QtGui.QIcon('gfx/refresh.png'), 'Refresh lyrics', self.p.refresh)
edit = self.__toolbar.addAction(QtGui.QIcon('gfx/edit.png'), 'Edit lyrics')
edit.setCheckable(True)
edit.connect(edit, QtCore.SIGNAL('toggled(bool)'), self.__toggle_editable)