Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/icons
diff options
context:
space:
mode:
authorThomas Wolf2017-05-23 09:28:34 +0000
committerMatthias Sohn2017-06-13 19:08:36 +0000
commitbf2d77c236a92cdd8840aa5c9e30cc61d563a9f7 (patch)
tree4ab2862b290e6a873d806e7be5aaef965847f963 /icons
parent290243625ed389c051fbf8163ac847f109d09bfd (diff)
downloadegit-bf2d77c236a92cdd8840aa5c9e30cc61d563a9f7.tar.gz
egit-bf2d77c236a92cdd8840aa5c9e30cc61d563a9f7.tar.xz
egit-bf2d77c236a92cdd8840aa5c9e30cc61d563a9f7.zip
Contextual actions in tooltips in staging view
If there are selected elements in the staged/unstaged viewers, provide quick access to the "Add to index"/"Remove from index" actions via a toolbar shown in a tooltip when the mouse pointer hovers over a selected element. Also add those actions to the toolbars of the viewers, properly enabled/disabled depending on whether there is a selection in the viewer. Change the unstage icon: "stage" is a green plus sign, but "unstage" was an inverted "reset" icon. A red minus sign seems to be more appropriate and less confusing. Finally, add tooltips to the section headers of the staged and unstaged viewers with explanations that should make it easier for people new to git to get what this whole view is about. (The notion of being able to compose a commit in the git way is a novelty for many people new to git.) Bug: 516969 Change-Id: I53f7d460aee079db25b78afd5a818bc7075547ce Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'icons')
-rw-r--r--icons/org.eclipse.egit.ui/icons/obj16/unstage.svg133
1 files changed, 54 insertions, 79 deletions
diff --git a/icons/org.eclipse.egit.ui/icons/obj16/unstage.svg b/icons/org.eclipse.egit.ui/icons/obj16/unstage.svg
index fd9dd24ac5..a3af75382b 100644
--- a/icons/org.eclipse.egit.ui/icons/obj16/unstage.svg
+++ b/icons/org.eclipse.egit.ui/icons/obj16/unstage.svg
@@ -20,67 +20,66 @@
id="defs4">
<linearGradient
inkscape:collect="always"
- id="linearGradient5103">
+ id="linearGradient4852">
<stop
- style="stop-color:#fefdef;stop-opacity:1"
+ style="stop-color:#df2c33;stop-opacity:1"
offset="0"
- id="stop5105" />
+ id="stop4854" />
<stop
- style="stop-color:#fce69e;stop-opacity:1"
+ style="stop-color:#f5817d;stop-opacity:1"
offset="1"
- id="stop5107" />
+ id="stop4856" />
</linearGradient>
<linearGradient
- id="linearGradient5103-2">
+ inkscape:collect="always"
+ id="linearGradient4844">
<stop
- style="stop-color:#f6feff;stop-opacity:1;"
+ style="stop-color:#c51325;stop-opacity:1;"
offset="0"
- id="stop5105-6" />
+ id="stop4846" />
<stop
- style="stop-color:#caf3f6;stop-opacity:1;"
+ style="stop-color:#ca5d49;stop-opacity:1"
offset="1"
- id="stop5107-6" />
+ id="stop4848" />
</linearGradient>
<linearGradient
inkscape:collect="always"
- xlink:href="#linearGradient5103-2"
- id="linearGradient3168"
+ xlink:href="#linearGradient4844"
+ id="linearGradient4850"
+ x1="8.6566515"
+ y1="1050.7386"
+ x2="8.6566515"
+ y2="1037.7"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(-1,0,0,1,15.98823,2.0202772)"
- x1="11.906143"
- y1="1042.3622"
- x2="11.906143"
- y2="1047.2684" />
+ gradientTransform="translate(1.962068e-6,-2.1458883e-5)" />
<linearGradient
inkscape:collect="always"
- xlink:href="#linearGradient5103"
- id="linearGradient3942"
+ xlink:href="#linearGradient4852"
+ id="linearGradient4858"
+ x1="4.7528968"
+ y1="1051.0466"
+ x2="4.7528968"
+ y2="1038.5814"
gradientUnits="userSpaceOnUse"
- gradientTransform="translate(0,-1.9995401)"
- x1="11.906143"
- y1="1042.3622"
- x2="11.906143"
- y2="1047.2684" />
+ gradientTransform="translate(1.962068e-6,-2.1458883e-5)" />
<linearGradient
inkscape:collect="always"
- xlink:href="#linearGradient5103"
- id="linearGradient3001"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1,0,0,-1,0,2091.744)"
- x1="11.906143"
- y1="1042.3622"
- x2="11.906143"
- y2="1047.2684" />
+ xlink:href="#linearGradient4852"
+ id="linearGradient3768"
+ x1="8"
+ y1="1047.3622"
+ x2="8"
+ y2="1042.3934"
+ gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
- xlink:href="#linearGradient5103-2"
- id="linearGradient3003"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(-1,0,0,-1,15.98823,2087.7241)"
- x1="11.906143"
- y1="1042.3622"
- x2="11.906143"
- y2="1047.2684" />
+ xlink:href="#linearGradient4844"
+ id="linearGradient3776"
+ x1="8"
+ y1="1047.3622"
+ x2="8"
+ y2="1042.3934"
+ gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
@@ -90,26 +89,22 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
- inkscape:cx="-7.3167265"
- inkscape:cy="7.2790335"
+ inkscape:cx="6.6392747"
+ inkscape:cy="9.1117272"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
- inkscape:window-width="2325"
- inkscape:window-height="1237"
- inkscape:window-x="88"
- inkscape:window-y="51"
+ inkscape:window-width="1241"
+ inkscape:window-height="814"
+ inkscape:window-x="502"
+ inkscape:window-y="144"
inkscape:window-maximized="0"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-global="false">
<inkscape:grid
type="xygrid"
- id="grid3999"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
+ id="grid3999" />
</sodipodi:namedview>
<metadata
id="metadata7">
@@ -129,33 +124,13 @@
id="layer1"
style="display:inline"
transform="translate(0,-1036.3622)">
- <g
- id="g2995"
- transform="matrix(1,0,0,-1,0,2089.7444)">
- <path
- sodipodi:nodetypes="cccccccc"
- inkscape:connector-curvature="0"
- id="path4108-1"
- d="m 7,1042.3622 0,1 5,5e-4 0,2 2.999893,-2.5 -2.999893,-2.5 0,2 z"
- style="fill:url(#linearGradient3001);fill-opacity:1;stroke:none;display:inline" />
- <path
- sodipodi:nodetypes="cccccccccccccccccccc"
- inkscape:connector-curvature="0"
- id="path4108-1-6"
- d="m 11,1039.3627 0,2 -3,-5e-4 -1,0 c -0.9918497,0.9918 -0.9863244,2.0137 0,3 l 1,0 3,5e-4 0,2 c 0,0.6519 0.740915,0.6375 1.5,0 l 3.9375,-3.5 -3.9375,-3.5 c -0.760225,-0.7602 -1.5,-0.5203 -1.5,0 z m 1,1 3,2.5 -3,2.5 0,-2 -4.4375,-5e-4 c -0.2762136,-0.2099 -0.2774437,-0.7282 0,-1 l 4.4375,5e-4 z"
- style="fill:#b57a13;fill-opacity:1;stroke:none;display:inline" />
- <path
- sodipodi:nodetypes="cccccccc"
- inkscape:connector-curvature="0"
- id="path4108-1-8"
- d="m 8.98823,1046.382 0,1 -5,5e-4 0,2 -2.999893,-2.5 2.999893,-2.5 0,2 z"
- style="fill:url(#linearGradient3003);fill-opacity:1;stroke:none;display:inline" />
- <path
- sodipodi:nodetypes="cccccccccccccccccccc"
- inkscape:connector-curvature="0"
- id="path4108-1-6-4"
- d="m 4.98823,1043.3825 0,2 3,-5e-4 1,0 c 0.9918497,0.9918 0.9863244,2.0137 0,3 l -1,0 -3,5e-4 0,2 c 0,0.6519 -0.740915,0.6375 -1.5,0 l -3.9375,-3.5 3.9375,-3.5 c 0.760225,-0.7602 1.5,-0.5203 1.5,0 z m -1,1 -3,2.5 3,2.5 0,-2 4.4375,-5e-4 c 0.2762136,-0.2099 0.2774437,-0.7282 0,-1 l -4.4375,5e-4 z"
- style="fill:#567f82;fill-opacity:1;stroke:none;display:inline" />
- </g>
+ <rect
+ style="fill:url(#linearGradient3768);fill-opacity:1;stroke:url(#linearGradient3776)"
+ id="rect2992"
+ width="12"
+ height="4"
+ x="1.5"
+ y="1042.8622"
+ ry="0.71854395" />
</g>
</svg>

Back to the top