diff --git a/imgsrc/restart.svg b/imgsrc/restart.svg new file mode 100644 index 0000000000..d5c0930bb1 --- /dev/null +++ b/imgsrc/restart.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + Kovid Goyal + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/imgsrc/similar.svg b/imgsrc/similar.svg new file mode 100644 index 0000000000..f908c77a58 --- /dev/null +++ b/imgsrc/similar.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + Kovid Goyal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/restart.png b/resources/images/restart.png new file mode 100644 index 0000000000..03b5017f71 Binary files /dev/null and b/resources/images/restart.png differ diff --git a/resources/images/similar.png b/resources/images/similar.png new file mode 100644 index 0000000000..92bf1e0a88 Binary files /dev/null and b/resources/images/similar.png differ diff --git a/src/calibre/gui2/actions/restart.py b/src/calibre/gui2/actions/restart.py index 904cad8e4c..872c8d5e58 100644 --- a/src/calibre/gui2/actions/restart.py +++ b/src/calibre/gui2/actions/restart.py @@ -12,7 +12,7 @@ from calibre.gui2.actions import InterfaceAction class RestartAction(InterfaceAction): name = 'Restart' - action_spec = (_('Restart'), None, _('Restart calibre'), 'Ctrl+R') + action_spec = (_('Restart'), 'restart.png', _('Restart calibre'), 'Ctrl+R') def genesis(self): self.qaction.triggered.connect(self.restart) diff --git a/src/calibre/gui2/actions/similar_books.py b/src/calibre/gui2/actions/similar_books.py index aa5bc23b59..6a7d292771 100644 --- a/src/calibre/gui2/actions/similar_books.py +++ b/src/calibre/gui2/actions/similar_books.py @@ -15,7 +15,7 @@ from calibre.gui2.actions import InterfaceAction class SimilarBooksAction(InterfaceAction): name = 'Similar Books' - action_spec = (_('Similar books...'), None, _('Show books similar to the current book'), None) + action_spec = (_('Similar books...'), 'similar.png', _('Show books similar to the current book'), None) popup_type = QToolButton.InstantPopup action_type = 'current' action_add_menu = True