Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/icons
diff options
context:
space:
mode:
authorThomas Wolf2017-06-14 17:36:03 +0000
committerThomas Wolf2017-06-18 11:44:14 +0000
commit34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b (patch)
tree7196f137407d68359217d3193528dec8a7ce219c /icons
parent1bf3ccac3b17a9dabf8b228526ee774094dc2d3e (diff)
downloadegit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.tar.gz
egit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.tar.xz
egit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.zip
Staging view: add toolbar buttons to stage/unstage all files
The buttons do not appear in the contextual action tooltip. The contextual actions operate on a selection, whereas the new "stage/unstage all" actions also operate on unselected files. Including it in the tooltip would give a confusing UI. Also, if this action were in the tooltip, a slight mis-click would stage/unstage not only the selected files but all of them. Although that would not be a severe problem (the changed files are selected after the operation in the target viewer, so undoing a "stage all" is as easy as using "unstage seleted files"), let's try to avoid this. Bug: 518213 Change-Id: I127dae880c28f851b078736a7940dc698ab42faa Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'icons')
-rw-r--r--icons/org.eclipse.egit.ui/icons/elcl16/add_all.svg159
-rw-r--r--icons/org.eclipse.egit.ui/icons/elcl16/unstage_all.svg166
2 files changed, 325 insertions, 0 deletions
diff --git a/icons/org.eclipse.egit.ui/icons/elcl16/add_all.svg b/icons/org.eclipse.egit.ui/icons/elcl16/add_all.svg
new file mode 100644
index 0000000000..90b3c3f9b9
--- /dev/null
+++ b/icons/org.eclipse.egit.ui/icons/elcl16/add_all.svg
@@ -0,0 +1,159 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="add_all.svg">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient5591-4">
+ <stop
+ style="stop-color:#e0e566;stop-opacity:1;"
+ offset="0"
+ id="stop5593-0" />
+ <stop
+ style="stop-color:#82c448;stop-opacity:1;"
+ offset="1"
+ id="stop5595-5" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5583-2">
+ <stop
+ style="stop-color:#426e4a;stop-opacity:1;"
+ offset="0"
+ id="stop5585-3" />
+ <stop
+ style="stop-color:#669f71;stop-opacity:1;"
+ offset="1"
+ id="stop5587-3" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="matrix(1.9375158,0,0,2.0245922,-12.812547,1026.6328)"
+ y2="9.1435204"
+ x2="2.03125"
+ y1="6.9396911"
+ x1="2.03125"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient5618"
+ xlink:href="#linearGradient5591-4"
+ inkscape:collect="always" />
+ <linearGradient
+ gradientTransform="matrix(1.9375158,0,0,2.0245922,-12.812547,1026.6328)"
+ y2="4.671875"
+ x2="2.03125"
+ y1="9.1435204"
+ x1="2.03125"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient5620"
+ xlink:href="#linearGradient5583-2"
+ inkscape:collect="always" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5591-4"
+ id="linearGradient3762"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4531368,0,0,1.5184441,7.1405897,1034.5652)"
+ x1="2.03125"
+ y1="6.9396911"
+ x2="2.03125"
+ y2="9.1435204" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5583-2"
+ id="linearGradient3764"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4531368,0,0,1.5184441,7.1405897,1034.5652)"
+ x1="2.03125"
+ y1="9.1435204"
+ x2="2.03125"
+ y2="4.671875" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5591-4"
+ id="linearGradient3772"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4531368,0,0,1.5184441,2.1405897,1029.5652)"
+ x1="2.03125"
+ y1="6.9396911"
+ x2="2.03125"
+ y2="9.1435204" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5583-2"
+ id="linearGradient3774"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4531368,0,0,1.5184441,2.1405897,1029.5652)"
+ x1="2.03125"
+ y1="9.1435204"
+ x2="2.03125"
+ y2="4.671875" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="32.000001"
+ inkscape:cx="-2.7252783"
+ inkscape:cy="5.9200733"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:window-width="2058"
+ inkscape:window-height="1141"
+ inkscape:window-x="25"
+ inkscape:window-y="25"
+ inkscape:window-maximized="0"
+ showguides="true"
+ inkscape:guide-bbox="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3971" />
+ </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:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ style="display:inline"
+ transform="translate(0,-1036.3622)">
+ <path
+ style="fill:url(#linearGradient3772);fill-opacity:1;stroke:url(#linearGradient3774);stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
+ d="m 3.5,1036.8622 3,0 0,3 3,0 0,3 -3,0 0,3 -3,0 0,-3 -3,0 0,-3 3,0 z"
+ id="path3770"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccc" />
+ <path
+ sodipodi:nodetypes="ccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path3760"
+ d="m 8.5,1041.8622 3,0 0,3 3,0 0,3 -3,0 0,3 -3,0 0,-3 -3,0 0,-3 3,0 z"
+ style="fill:url(#linearGradient3762);fill-opacity:1;stroke:url(#linearGradient3764);stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+ </g>
+</svg>
diff --git a/icons/org.eclipse.egit.ui/icons/elcl16/unstage_all.svg b/icons/org.eclipse.egit.ui/icons/elcl16/unstage_all.svg
new file mode 100644
index 0000000000..6ca8a1679d
--- /dev/null
+++ b/icons/org.eclipse.egit.ui/icons/elcl16/unstage_all.svg
@@ -0,0 +1,166 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="unstage_all.svg">
+ <defs
+ id="defs4">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4852">
+ <stop
+ style="stop-color:#df2c33;stop-opacity:1"
+ offset="0"
+ id="stop4854" />
+ <stop
+ style="stop-color:#f5817d;stop-opacity:1"
+ offset="1"
+ id="stop4856" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4844">
+ <stop
+ style="stop-color:#c51325;stop-opacity:1;"
+ offset="0"
+ id="stop4846" />
+ <stop
+ style="stop-color:#ca5d49;stop-opacity:1"
+ offset="1"
+ id="stop4848" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4852"
+ id="linearGradient3768"
+ x1="8"
+ y1="1047.3622"
+ x2="8"
+ y2="1042.3934"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.76923077,0,0,0.8,-14.153846,205.07244)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4844"
+ id="linearGradient3776"
+ x1="8"
+ y1="1047.3622"
+ x2="8"
+ y2="1042.3934"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.76923077,0,0,0.8,-14.153846,205.07244)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4844"
+ id="linearGradient3770"
+ x1="6"
+ y1="6"
+ x2="6"
+ y2="3"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-0.5,1036.8622)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4852"
+ id="linearGradient3778"
+ x1="6"
+ y1="6"
+ x2="6"
+ y2="3"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-0.5,1036.8622)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4852"
+ id="linearGradient3782"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(4.5,1041.8622)"
+ x1="6"
+ y1="6"
+ x2="6"
+ y2="3" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4844"
+ id="linearGradient3784"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(4.5,1041.8622)"
+ x1="6"
+ y1="6"
+ x2="6"
+ y2="3" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="32"
+ inkscape:cx="2.3267747"
+ inkscape:cy="9.1117272"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:window-width="1708"
+ inkscape:window-height="990"
+ inkscape:window-x="502"
+ inkscape:window-y="144"
+ inkscape:window-maximized="0"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:snap-global="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3999" />
+ </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:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ style="display:inline"
+ transform="translate(0,-1036.3622)">
+ <rect
+ style="fill:url(#linearGradient3778);fill-opacity:1;stroke:url(#linearGradient3770);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3762"
+ width="9"
+ height="3"
+ x="0.5"
+ y="1039.8622"
+ ry="0.57483518" />
+ <rect
+ ry="0.57483518"
+ y="1044.8622"
+ x="5.5"
+ height="3"
+ width="9"
+ id="rect3780"
+ style="fill:url(#linearGradient3782);fill-opacity:1;stroke:url(#linearGradient3784);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ </g>
+</svg>

Back to the top