mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
A dedicated remove books icon
This commit is contained in:
parent
19d5c02a4f
commit
43426cd9fa
137
imgsrc/remove_books.svg
Normal file
137
imgsrc/remove_books.svg
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
inkscape:version="0.91 r13725"
|
||||||
|
version="1.1"
|
||||||
|
id="svg2"
|
||||||
|
viewBox="0 0 128 128"
|
||||||
|
height="128"
|
||||||
|
width="128"
|
||||||
|
sodipodi:docname="remove_books.svg">
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<inkscape:perspective
|
||||||
|
sodipodi:type="inkscape:persp3d"
|
||||||
|
inkscape:vp_x="-198.49498 : 62.232233 : 1"
|
||||||
|
inkscape:vp_y="0 : 1000 : 0"
|
||||||
|
inkscape:vp_z="128 : 64 : 1"
|
||||||
|
inkscape:persp3d-origin="64 : 42.666667 : 1"
|
||||||
|
id="perspective4203" />
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:window-y="32"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-height="2128"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
units="px"
|
||||||
|
showgrid="true"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:cy="54.689889"
|
||||||
|
inkscape:cx="38.008929"
|
||||||
|
inkscape:zoom="11.2"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base">
|
||||||
|
<inkscape:grid
|
||||||
|
type="xygrid"
|
||||||
|
id="grid4260" />
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title />
|
||||||
|
<dc:creator>
|
||||||
|
<cc:Agent>
|
||||||
|
<dc:title>Kovid Goyal</dc:title>
|
||||||
|
</cc:Agent>
|
||||||
|
</dc:creator>
|
||||||
|
<dc:rights>
|
||||||
|
<cc:Agent>
|
||||||
|
<dc:title />
|
||||||
|
</cc:Agent>
|
||||||
|
</dc:rights>
|
||||||
|
<dc:publisher>
|
||||||
|
<cc:Agent>
|
||||||
|
<dc:title />
|
||||||
|
</cc:Agent>
|
||||||
|
</dc:publisher>
|
||||||
|
<cc:license
|
||||||
|
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
|
||||||
|
</cc:Work>
|
||||||
|
<cc:License
|
||||||
|
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
|
||||||
|
<cc:permits
|
||||||
|
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||||
|
<cc:permits
|
||||||
|
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||||
|
<cc:requires
|
||||||
|
rdf:resource="http://creativecommons.org/ns#Notice" />
|
||||||
|
<cc:requires
|
||||||
|
rdf:resource="http://creativecommons.org/ns#Attribution" />
|
||||||
|
<cc:permits
|
||||||
|
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||||
|
<cc:requires
|
||||||
|
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
|
||||||
|
</cc:License>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-924.36216)">
|
||||||
|
<path
|
||||||
|
style="fill:#de8787;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 16.582008,1046.8836 0,-107.68789 c 0.268678,-7.88583 2.821127,-11.47031 7.254326,-11.67513 l 83.521626,-0.15807 c 2.76636,-0.0342 3.22403,2.60341 3.22403,5.26085 L 110.405,1042.9681 c 0.20067,4.0092 -3.08981,3.9942 -3.08981,3.9942 l -6.90542,0.1083 c -0.18732,4.2167 -0.26937,4.387 -3.224141,4.2676 l -76.439105,0 c -3.907185,0 -4.164519,0.1998 -4.164519,-4.455 z"
|
||||||
|
id="path4221"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="cccccccccccc" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 22.29891,937.54569 73.639178,0 c 5.750212,0.0985 5.128952,2.68325 5.171952,9.6779 l 0.18187,94.28241 c 1.82365,0.1448 4.62079,-1.8836 4.58597,-5.1073 l -0.18187,-96.83984 c 0.15109,-6.45263 -1.3372,-6.45263 -4.30125,-6.71744 l -75.30503,0 c -2.867481,-0.1804 -3.639719,0.84201 -3.790797,4.70427 z"
|
||||||
|
id="path4258"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="cccccccccc" />
|
||||||
|
<rect
|
||||||
|
style="fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
id="rect4139"
|
||||||
|
width="51.482143"
|
||||||
|
height="6"
|
||||||
|
x="33.258926"
|
||||||
|
y="951.36218"
|
||||||
|
ry="0.89999998" />
|
||||||
|
<g
|
||||||
|
id="g4158"
|
||||||
|
transform="translate(5.9989981,12.321429)"
|
||||||
|
style="fill:#aa0000">
|
||||||
|
<path
|
||||||
|
id="path4"
|
||||||
|
d="m 33.135,1023.5682 c 0,1.988 1.617,3.599 3.611,3.599 l 32.508,0 c 2.002,0 3.618,-1.61 3.618,-3.599 l 0,-37.04204 -39.737,0 0,37.04204 z m 28.663,-33.47304 5.6,0 0,29.95504 c 0,1.546 -1.256,2.796 -2.795,2.796 -1.549,0 -2.804,-1.25 -2.804,-2.796 l 0,-29.95504 z m -11.594,0 5.604,0 0,29.95504 c 0,1.546 -1.254,2.796 -2.802,2.796 -1.548,0 -2.802,-1.25 -2.802,-2.796 l 0,-29.95504 z m -11.677,0 5.596,0 0,29.95504 c 0,1.546 -1.255,2.796 -2.798,2.796 -1.543,0 -2.797,-1.25 -2.797,-2.796 l 0,-29.95504 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#aa0000" />
|
||||||
|
<path
|
||||||
|
id="path6"
|
||||||
|
d="m 72.864,973.40816 -14.181,0 0,-2.052 c 0,0 -0.064,-1.799 -1.87,-1.799 l -7.745,0 c -1.804,0 -1.742,1.799 -1.742,1.799 l 0,2.052 -14.19,0 c -1.993,0 -3.612,1.613 -3.612,3.601 l 0,5.919 46.954,0 0,-5.919 c -10e-4,-1.988 -1.619,-3.601 -3.614,-3.601 z"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
style="fill:#aa0000" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 5.7 KiB |
BIN
resources/images/remove_books.png
Normal file
BIN
resources/images/remove_books.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
@ -87,7 +87,7 @@ class MultiDeleter(QObject): # {{{
|
|||||||
class DeleteAction(InterfaceAction):
|
class DeleteAction(InterfaceAction):
|
||||||
|
|
||||||
name = 'Remove Books'
|
name = 'Remove Books'
|
||||||
action_spec = (_('Remove books'), 'trash.png', _('Delete books'), 'Backspace' if isosx else 'Del')
|
action_spec = (_('Remove books'), 'remove_books.png', _('Delete books'), 'Backspace' if isosx else 'Del')
|
||||||
action_type = 'current'
|
action_type = 'current'
|
||||||
action_add_menu = True
|
action_add_menu = True
|
||||||
action_menu_clone_qaction = _('Remove selected books')
|
action_menu_clone_qaction = _('Remove selected books')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user