diff --git a/imgsrc/highlight.svg b/imgsrc/highlight.svg new file mode 100644 index 0000000000..e477b2d074 --- /dev/null +++ b/imgsrc/highlight.svg @@ -0,0 +1,60 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/imgsrc/srv/highlight.svg b/imgsrc/srv/highlight.svg new file mode 100644 index 0000000000..6751f0a39e --- /dev/null +++ b/imgsrc/srv/highlight.svg @@ -0,0 +1 @@ + diff --git a/resources/images/highlight.png b/resources/images/highlight.png new file mode 100644 index 0000000000..ef859e986a Binary files /dev/null and b/resources/images/highlight.png differ diff --git a/src/calibre/gui2/actions/browse_annots.py b/src/calibre/gui2/actions/browse_annots.py index 8472ed8515..5ef3aca4cf 100644 --- a/src/calibre/gui2/actions/browse_annots.py +++ b/src/calibre/gui2/actions/browse_annots.py @@ -12,7 +12,7 @@ from calibre.gui2.actions import InterfaceAction class BrowseAnnotationsAction(InterfaceAction): name = 'Browse Annotations' - action_spec = (_('Browse annotations'), 'polish.png', + action_spec = (_('Browse annotations'), 'highlight.png', _('Browse highlights and bookmarks from all books in the library'), _('B')) dont_add_to = frozenset(('context-menu-device',)) action_type = 'current' diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index 5096041660..b885e35cb0 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -410,6 +410,7 @@ class AnnotationsBrowser(Dialog): def __init__(self, parent=None): Dialog.__init__(self, _('Annotations browser'), 'library-annotations-browser-1', parent=parent) self.setAttribute(Qt.WA_DeleteOnClose, False) + self.setWindowIcon(QIcon(I('highlight.png'))) def do_open_annotation(self, book_id, fmt, annot): atype = annot['type']