Commit 4dfae551 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

introduce new Kate application icon

this is inspired by the Kate mascot

Tyson Tan worked on this for us, this is the initial version we
want to try out

the icons were renamed here to ensure indenpendent of the
chosen icon theme one at all gets the new icon

this is by intent no text block anymore, we want to get
some recognizable branding
parent 7399c193
......@@ -107,15 +107,18 @@ add_executable(kate-bin main.cpp)
target_link_libraries(kate-bin PRIVATE kate-lib)
set(ICONS_PNG
${CMAKE_CURRENT_SOURCE_DIR}/icons/16-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/22-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/32-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/48-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/64-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/128-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/16-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/22-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/32-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/44-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/48-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/64-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/128-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/150-apps-kate-editor.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/310-apps-kate-editor.png
)
set(ICONS_SVG ${CMAKE_CURRENT_SOURCE_DIR}/icons/sc-apps-kate.svgz)
set(ICONS_SVG ${CMAKE_CURRENT_SOURCE_DIR}/icons/sc-apps-kate-editor.svgz)
# Add icon files to the application's source files to have CMake bundle them in the executable.
ecm_add_app_icon(ICONS_SOURCES ICONS ${ICONS_PNG})
......
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kate">
<file>mascot.png</file>
</qresource>
<qresource prefix="/kxmlgui5/kate">
<file>kateui.rc</file>
</qresource>
......
......@@ -169,7 +169,7 @@ MimeType=text/plain;
Exec=kate -b %U
StartupNotify=true
X-KDE-HasTempFileOption=true
Icon=kate
Icon=kate-editor
X-DocPath=kate/index.html
Type=Application
Terminal=false
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
inkscape:export-ydpi="300"
inkscape:export-xdpi="300"
inkscape:export-filename="/home/tysontan/Pictures/000_Creation/Artwork/2020/Vectors/kate.png"
width="210mm"
height="297mm"
viewBox="0 0 210 297"
version="1.1"
id="svg8"
sodipodi:docname="kate.svg"
inkscape:version="1.0beta2 (bac9fcc, 2020-01-22)">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient964">
<stop
style="stop-color:#00ccff;stop-opacity:1"
offset="0"
id="stop960" />
<stop
style="stop-color:#0066ff;stop-opacity:1"
offset="1"
id="stop962" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient948">
<stop
style="stop-color:#2ad4ff;stop-opacity:1"
offset="0"
id="stop944" />
<stop
style="stop-color:#2a7fff;stop-opacity:1"
offset="1"
id="stop946" />
</linearGradient>
<linearGradient
id="linearGradient936"
inkscape:collect="always">
<stop
id="stop932"
offset="0"
style="stop-color:#00ccff;stop-opacity:1" />
<stop
id="stop934"
offset="1"
style="stop-color:#2a7fff;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient898"
inkscape:collect="always">
<stop
id="stop894"
offset="0"
style="stop-color:#2a7fff;stop-opacity:1" />
<stop
id="stop896"
offset="1"
style="stop-color:#00ccff;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient888"
inkscape:collect="always">
<stop
id="stop884"
offset="0"
style="stop-color:#00ccff;stop-opacity:1" />
<stop
id="stop886"
offset="1"
style="stop-color:#00ccff;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient852"
inkscape:collect="always">
<stop
id="stop848"
offset="0"
style="stop-color:#00ccff;stop-opacity:1" />
<stop
id="stop850"
offset="1"
style="stop-color:#2a7fff;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient993">
<stop
style="stop-color:#2a7fff;stop-opacity:1"
offset="0"
id="stop989" />
<stop
style="stop-color:#2a7fff;stop-opacity:1"
offset="1"
id="stop991" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient993"
id="linearGradient995"
x1="66.951469"
y1="104.46095"
x2="66.335762"
y2="109.66759"
gradientUnits="userSpaceOnUse" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="112.00438"
x2="64.371704"
y1="115.71481"
x1="77.166962"
id="linearGradient854"
xlink:href="#linearGradient852"
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="107.31376"
x2="77.488457"
y1="115.88342"
x1="62.960659"
id="linearGradient890"
xlink:href="#linearGradient888"
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="118.55463"
x2="68.16433"
y1="112.73174"
x1="68.228661"
id="linearGradient900"
xlink:href="#linearGradient898"
inkscape:collect="always" />
<linearGradient
y2="117.91264"
x2="75.81916"
y1="113.06454"
x1="68.7071"
gradientUnits="userSpaceOnUse"
id="linearGradient908"
xlink:href="#linearGradient898"
inkscape:collect="always" />
<linearGradient
y2="120.35797"
x2="68.670082"
y1="106.36805"
x1="77.401382"
gradientUnits="userSpaceOnUse"
id="linearGradient930"
xlink:href="#linearGradient964"
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="109.0449"
x2="64.927658"
y1="105.1096"
x1="61.163261"
id="linearGradient938"
xlink:href="#linearGradient936"
inkscape:collect="always" />
<linearGradient
y2="104.88973"
x2="71.135635"
y1="106.86487"
x1="63.36673"
gradientUnits="userSpaceOnUse"
id="linearGradient942"
xlink:href="#linearGradient948"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
showborder="true"
inkscape:snap-bbox="true"
inkscape:snap-midpoints="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-intersection-paths="true"
inkscape:object-paths="true"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="266.32635"
inkscape:cy="599.8824"
inkscape:document-units="mm"
inkscape:current-layer="layer2"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="2210"
inkscape:window-height="1601"
inkscape:window-x="213"
inkscape:window-y="530"
inkscape:window-maximized="0"
showguides="true" />
<metadata
id="metadata5">
<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:groupmode="layer"
id="layer2"
inkscape:label="Vector Base"
style="display:inline">
<g
transform="matrix(10.185345,0,0,10.412473,-593.68883,-1032.1515)"
id="g958">
<path
inkscape:connector-curvature="0"
id="path918"
d="m 65.428762,109.91943 c -0.79474,-2.58086 -5.285936,-1.9546 -6.036655,-2.01063 0.842596,-0.40914 1.604061,-0.74639 3.341118,-1.97728 3.346321,-2.37122 6.889189,-1.85409 8.663362,-0.91242 -4.85033,0.18036 -3.926305,2.76518 -3.211896,4.12714 -0.908518,0.25814 -2.342683,0.64782 -2.755929,0.77319 z"
style="fill:url(#linearGradient938);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="opacity:1;fill:url(#linearGradient854);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 77.401381,106.36805 c -1.746608,2.25673 -4.650524,5.30573 -7.828693,5.70736 -3.17817,0.40163 -6.208039,-0.0433 -6.909882,2.27202 -0.64633,2.1322 1.626883,4.12293 3.984589,3.64314 2.518769,-0.51257 1.974803,-3.30514 0.597137,-5.20681 1.046467,-0.0587 0.851808,-0.0435 2.626388,-0.131 2.645109,2.20549 3.521857,2.8343 8.143023,6.05209 -3.561162,-0.36484 -4.857257,-0.69982 -7.41144,-2.19429 0.661668,1.62462 2.075907,5.31186 2.382248,8.17285 -1.47315,-2.07065 -2.031632,-2.83161 -4.314667,-4.32544 -2.924418,-1.9135 -5.29286,-1.97828 -6.663677,-4.79745 -1.367857,-2.81308 0.442686,-4.83945 3.682518,-5.71701 4.629957,-1.2541 8.619281,-2.4431 11.712456,-3.47546 z"
id="path997"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cssscccccsssc" />
<path
style="opacity:1;fill:url(#linearGradient908);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 67.244532,112.78376 c 1.046467,-0.0587 0.851808,-0.0435 2.626388,-0.131 2.645109,2.20549 3.521857,2.8343 8.143023,6.05209 -4.644893,-0.32503 -8.159344,-1.66506 -10.769411,-5.92109 z"
id="path906"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
sodipodi:nodetypes="cssscccccsssc"
inkscape:connector-curvature="0"
id="path926"
d="m 77.401381,106.36805 c -1.746608,2.25673 -4.650524,5.30573 -7.828693,5.70736 -3.17817,0.40163 -6.208039,-0.0433 -6.909882,2.27202 -0.64633,2.1322 1.626883,4.12293 3.984589,3.64314 2.518769,-0.51257 1.974803,-3.30514 0.597137,-5.20681 1.046467,-0.0587 0.851808,-0.0435 2.626388,-0.131 2.645109,2.20549 3.521857,2.8343 8.143023,6.05209 -3.561162,-0.36484 -4.857257,-0.69982 -7.41144,-2.19429 0.661668,1.62462 2.075907,5.31186 2.382248,8.17285 -1.47315,-2.07065 -2.031632,-2.83161 -4.314667,-4.32544 -2.924418,-1.9135 -5.29286,-1.97828 -6.663677,-4.79745 -1.367857,-2.81308 0.442686,-4.83945 3.682518,-5.71701 4.629957,-1.2541 8.619281,-2.4431 11.712456,-3.47546 z"
style="opacity:1;fill:url(#linearGradient930);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path892"
d="m 67.244532,112.78376 c 1.046467,-0.0587 0.851808,-0.0435 2.626388,-0.131 2.645109,2.20549 3.521857,2.8343 8.143023,6.05209 -4.644893,-0.32503 -8.159344,-1.66506 -10.769411,-5.92109 z"
style="opacity:1;fill:url(#linearGradient900);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:url(#linearGradient942);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 59.392107,107.9088 c 0.842596,-0.40914 1.604061,-0.74639 3.341118,-1.97728 3.346321,-2.37122 6.889189,-1.85409 8.663362,-0.91242 -4.85033,0.18036 -4.225378,1.1257 -4.243278,1.86679 -3.222572,-0.66446 -4.163494,0.2396 -7.761202,1.02291 z"
id="path940"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
sodipodi:nodetypes="cccc"
style="fill:url(#linearGradient995);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 71.396587,105.0191 c -4.85033,0.18036 -3.926305,2.76518 -3.211896,4.12714 -0.566006,0.16082 -1.179475,0.34403 -1.936109,0.53991 -3.052938,-5.32116 2.656266,-6.01341 5.148005,-4.66705 z"
id="path979"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path880"
d="m 62.879799,116.88614 c -2.373486,-2.98949 -1.93525,-5.72962 2.712379,-7.1533 4.586439,-1.40494 8.716028,-2.33243 11.809203,-3.36479 -8.347338,3.11114 -18.799839,5.18999 -14.521582,10.51809 z"
style="opacity:1;fill:url(#linearGradient890);fill-opacity:1;stroke:none;stroke-width:0.065;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:nodetypes="cscc" />
</g>
</g>
</svg>
......@@ -167,11 +167,6 @@ int main(int argc, char **argv)
aboutData.addCredit(i18n("Carsten Pfeiffer"), i18n("Very nice help"));
aboutData.addCredit(i18n("All people who have contributed and I have forgotten to mention"));
/**
* set the new Kate mascot
*/
aboutData.setProgramLogo(QImage(QStringLiteral(":/kate/mascot.png")));
/**
* set and register app about data
*/
......@@ -180,7 +175,7 @@ int main(int argc, char **argv)
/**
* set the program icon
*/
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("kate"), app.windowIcon()));
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("kate-editor"), app.windowIcon()));
/**
* Create command line parser and feed it with known options
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment