diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-08-16 13:17:45 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-08-16 13:17:45 +0200 |
commit | dd3897d14cd1a91fcb81e7c7d97d8ce5889f0a36 (patch) | |
tree | f58e943da7629d78adf69fe3007f49faf1e09469 /nephilim/plugins | |
parent | c9c8572394c661792839727b29e467104efa0581 (diff) |
Lyrics: add a refresh action to toolbar
also add all the icons for previous actions.
Diffstat (limited to 'nephilim/plugins')
-rw-r--r-- | nephilim/plugins/Lyrics.py | 1 |
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) |