diff --git a/resources/images/dictionary.png b/resources/images/dictionary.png deleted file mode 100644 index e9bd55d918..0000000000 Binary files a/resources/images/dictionary.png and /dev/null differ diff --git a/resources/images/dictionary.svg b/resources/images/dictionary.svg new file mode 100644 index 0000000000..37b17baf48 --- /dev/null +++ b/resources/images/dictionary.svg @@ -0,0 +1,1009 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/images/user_profile.svg b/resources/images/user_profile.svg index 0aecc0c1f7..3b2f36131a 100644 --- a/resources/images/user_profile.svg +++ b/resources/images/user_profile.svg @@ -2,7 +2,7 @@ + sodipodi:docbase="/home/pinheiro/artwork/Oxygen/theme/svg/actions" + sodipodi:docname="user_female.svg"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + inkscape:window-width="1106" + inkscape:window-height="958" + inkscape:window-x="128" + inkscape:window-y="215"> + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="metadata1312"> image/svg+xml + + + + Oxygen team + + + + + + + + + + + inkscape:label="Layer 1" + inkscape:groupmode="layer"> + + + style="opacity:0.38139535;fill:url(#radialGradient3297);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" + id="path3289" + sodipodi:cx="63.912209" + sodipodi:cy="115.70919" + sodipodi:rx="63.912209" + sodipodi:ry="12.641975" + d="M 127.82442 115.70919 A 63.912209 12.641975 0 1 1 0,115.70919 A 63.912209 12.641975 0 1 1 127.82442 115.70919 z" + transform="matrix(1,0,0,0.416667,0.266436,74.25798)" /> + style="fill:black;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z " + id="path2375" /> - - - - - + id="path2878" + d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z " + style="fill:black;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:url(#linearGradient2898);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.2073171" + d="M 63.805682,2.3189945 C 60.204653,2.3650007 56.68272,3.4814485 53.43117,5.8585338 C 56.378477,3.9906882 61.133543,3.7479685 64.326992,4.0398775 C 79.377077,5.4155836 98.565383,26.21259 96.7295,47.142988 C 95.820607,57.505059 90.782821,65.24448 83.8529,70.333073 C 91.331974,65.269474 96.842277,57.270013 97.797464,46.380156 C 99.633352,25.449758 80.907031,2.1005146 63.805682,2.3189945 z " + id="path2882" + sodipodi:nodetypes="ccsscsc" /> + style="fill:url(#linearGradient2911);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 79.147382,75.901301 C 79.100289,75.923554 79.049359,75.937341 79.002158,75.959388 C 79.063429,78.202509 79.46307,80.128263 80.10587,81.216537 C 82.030334,84.47468 86.453333,87.247287 94.163669,89.436284 C 102.75732,91.876067 109.52963,94.380244 114.37901,98.643562 C 118.37935,102.16043 121.06728,106.18674 121.466,111.22007 C 121.49137,111.05961 121.5241,110.89043 121.5241,110.7263 C 121.5241,105.07295 118.72043,100.65951 114.37901,96.842768 C 109.52963,92.579463 102.75732,90.075276 94.163669,87.635494 C 86.453333,85.446506 82.030334,82.673889 80.10587,79.415746 C 79.636815,78.621639 79.320492,77.385183 79.147382,75.901301 z " + id="path2900" + sodipodi:nodetypes="ccssscssssc" /> + sodipodi:nodetypes="ccssscssssc" + id="path2913" + d="M 50.410374,75.901301 C 50.457467,75.923554 50.508398,75.937341 50.555598,75.959388 C 50.494327,78.202509 50.094687,80.128263 49.451887,81.216537 C 47.527422,84.47468 43.104424,87.247287 35.394087,89.436284 C 26.800432,91.876067 20.028126,94.380244 15.178743,98.643562 C 11.178409,102.16043 8.4904782,106.18674 8.0917552,111.22007 C 8.0663877,111.05961 8.033658,110.89043 8.033658,110.7263 C 8.033658,105.07295 10.837325,100.65951 15.178743,96.842768 C 20.028126,92.579463 26.800432,90.075276 35.394087,87.635494 C 43.104424,85.446506 47.527422,82.673889 49.451887,79.415746 C 49.920942,78.621639 50.237264,77.385183 50.410374,75.901301 z " + style="fill:url(#linearGradient2915);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="opacity:0.19262294;fill:url(#linearGradient2934);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 10.934256,97.007517 9.9476914,98.029977 9.0503905,99.086127 C 43.790302,112.20602 86.237691,93.86764 120.45434,100.45922 C 119.31869,98.895255 117.94232,97.420999 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z " + id="path2923" + sodipodi:nodetypes="ccscsssccssscsc" /> + style="opacity:0.147541;fill:url(#linearGradient2942);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.590647,55.139108 34.51846,63.410713 40.906244,68.725424 C 46.499431,43.086176 60.253253,23.183408 81.916078,8.8889022 C 76.436168,4.2058259 70.185402,1.3052361 64.126842,1.3826379 z M 91.588784,20.392405 C 69.413597,38.642858 59.93157,63.059075 62.204506,99.635366 C 82.545047,99.174142 102.74074,98.667446 120.45434,100.45922 C 119.31869,98.895255 117.94232,97.420999 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 98.867542,36.905593 96.177208,27.971578 91.588784,20.392405 z " + id="path2936" + sodipodi:nodetypes="ccsccccccssscsc" /> - - + style="fill:url(#radialGradient2824);fill-opacity:1.0;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;opacity:0.41803279" + d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z " + id="path1928" /> diff --git a/src/calibre/gui2/viewer/documentview.py b/src/calibre/gui2/viewer/documentview.py index bd4bd0a01a..4653529095 100644 --- a/src/calibre/gui2/viewer/documentview.py +++ b/src/calibre/gui2/viewer/documentview.py @@ -448,7 +448,7 @@ class DocumentView(QWebView): self.unimplemented_actions = list(map(self.pageAction, [d.DownloadImageToDisk, d.OpenLinkInNewWindow, d.DownloadLinkToDisk, d.OpenImageInNewWindow, d.OpenLink])) - self.dictionary_action = QAction(QIcon(I('dictionary.png')), + self.dictionary_action = QAction(QIcon(I('dictionary.svg')), _('&Lookup in dictionary'), self) self.dictionary_action.setShortcut(Qt.CTRL+Qt.Key_L) self.dictionary_action.triggered.connect(self.lookup)