Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pierre-alain-b/rainloop-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValdnet <valdnet@itvix.pl>2021-03-07 17:00:24 +0300
committerValdnet <valdnet@itvix.pl>2021-03-07 17:00:24 +0300
commit1c11288f0ec4e0dfdbaf6b0b09b02da190d421d4 (patch)
treed32ee1b57e2da291306d1fddd15341ec008f82d3
parentef232e62bca2edff3fec87d9d64e9d0a825dd013 (diff)
Change app icon
The change causes the application icon to be displayed in the NC navigation and in the list of installed applications in svg format.
-rwxr-xr-ximg/mail.pngbin478 -> 0 bytes
-rw-r--r--img/rainloop.svg265
-rw-r--r--lib/AppInfo/Application.php2
3 files changed, 266 insertions, 1 deletions
diff --git a/img/mail.png b/img/mail.png
deleted file mode 100755
index 285cabe..0000000
--- a/img/mail.png
+++ /dev/null
Binary files differ
diff --git a/img/rainloop.svg b/img/rainloop.svg
new file mode 100644
index 0000000..6e7c433
--- /dev/null
+++ b/img/rainloop.svg
@@ -0,0 +1,265 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="svg833"
+ width="32"
+ height="32"
+ viewBox="0 0 32 32"
+ sodipodi:docname="rainloop.svg"
+ inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
+ <metadata
+ id="metadata839">
+ <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>
+ <defs
+ id="defs837" />
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1001"
+ id="namedview835"
+ showgrid="false"
+ inkscape:pagecheckerboard="false"
+ inkscape:zoom="16"
+ inkscape:cx="10.786252"
+ inkscape:cy="17.394759"
+ inkscape:window-x="-9"
+ inkscape:window-y="-9"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="g841"
+ inkscape:lockguides="false"
+ inkscape:document-rotation="0" />
+ <g
+ inkscape:groupmode="layer"
+ inkscape:label="Image"
+ id="g841">
+ <g
+ id="g1053"
+ transform="translate(-0.05046999,-0.44470665)">
+ <g
+ id="g921"
+ transform="matrix(0.73266354,0.68059102,-0.71588328,0.69821997,0,0)"
+ style="opacity:1">
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.50332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
+ d="M 5.6496339,3.1617897 H 25.056799 v 0.03224 H 5.6496339 Z"
+ id="path923" />
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.50332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
+ d="M 5.6503906,2.4101562 C 5.2350485,2.4100358 4.898317,2.7467673 4.8984375,3.1621094 v 0.03125 c -1.204e-4,0.4153421 0.336611,0.7520735 0.7519531,0.7519531 H 25.056641 c 0.415342,1.204e-4 0.752073,-0.336611 0.751953,-0.7519531 L 24.737581,-0.12374013 C 24.493696,2.1372587 24.241088,2.426127 22.836001,2.4101563 h -0.981297 -1.962593 -4.538595 z"
+ id="path925"
+ sodipodi:nodetypes="cccccccccccc" />
+ </g>
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.33469;stroke-opacity:1"
+ id="rect994-7"
+ width="15.036267"
+ height="0.032800458"
+ x="3.840555"
+ y="-19.794056"
+ transform="matrix(-0.69218043,0.7217245,-0.73411036,-0.67903018,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.31971;stroke-opacity:1"
+ id="rect994-7-4"
+ width="14.866495"
+ height="0.032434449"
+ x="25.605541"
+ y="3.3301759"
+ transform="matrix(0.69298606,0.72095099,0.73486654,-0.67821175,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4"
+ width="1.943174"
+ height="0.022766471"
+ x="18.13413"
+ y="-5.3854508"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2"
+ width="1.943174"
+ height="0.022766471"
+ x="8.9816389"
+ y="-5.3394499"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-0"
+ width="1.943174"
+ height="0.022766471"
+ x="6.2199168"
+ y="-32.562008"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-3"
+ width="1.943174"
+ height="0.022766471"
+ x="11.39257"
+ y="-29.100203"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-1"
+ width="1.943174"
+ height="0.022766471"
+ x="2.2400796"
+ y="-29.054199"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-79"
+ width="1.943174"
+ height="0.022766471"
+ x="15.175108"
+ y="-1.0603688"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ <g
+ id="g884"
+ transform="translate(-0.01326994,-0.01327016)">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.01971;stroke-linejoin:round;stroke-opacity:1"
+ id="rect1343-5-0"
+ width="0.071411341"
+ height="0.079895549"
+ x="-0.73818964"
+ y="4.7991629"
+ transform="scale(-1,1)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-8"
+ width="1.943174"
+ height="0.022766471"
+ x="-0.0024295191"
+ y="-5.3081365"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-2"
+ width="1.943174"
+ height="0.022766471"
+ x="5.3694892"
+ y="-1.0249259"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ </g>
+ <g
+ id="g884-8"
+ transform="rotate(180,16.057104,16.451341)">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.01971;stroke-linejoin:round;stroke-opacity:1"
+ id="rect1343-5-0-84"
+ width="0.071411341"
+ height="0.079895549"
+ x="-0.73818964"
+ y="4.7991629"
+ transform="scale(-1,1)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-8-8"
+ width="1.943174"
+ height="0.022766471"
+ x="-0.0024295191"
+ y="-5.3081365"
+ transform="matrix(0.99998839,-0.00481872,-0.28427368,-0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-2-4"
+ width="1.943174"
+ height="0.022766471"
+ x="5.3694892"
+ y="-1.0249259"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ </g>
+ <g
+ id="g928"
+ transform="translate(8.7372245,-2.1216818)">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.01971;stroke-linejoin:round;stroke-opacity:1"
+ id="rect1343-5-0-5"
+ width="0.071411341"
+ height="0.079895549"
+ x="22.638796"
+ y="6.9075747" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-8-1"
+ width="1.943174"
+ height="0.022766471"
+ x="-19.717632"
+ y="7.5738592"
+ transform="matrix(-0.99998839,0.00481872,0.28427368,0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-2-40"
+ width="1.943174"
+ height="0.022766471"
+ x="1.1106329"
+ y="-23.423124"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ </g>
+ <g
+ id="g928-4"
+ transform="rotate(180,11.681858,17.505547)">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.01971;stroke-linejoin:round;stroke-opacity:1"
+ id="rect1343-5-0-5-7"
+ width="0.071411341"
+ height="0.079895549"
+ x="22.638796"
+ y="6.9075747" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-8-1-7"
+ width="1.943174"
+ height="0.022766471"
+ x="-19.717632"
+ y="7.5738592"
+ transform="matrix(-0.99998839,0.00481872,0.28427368,0.95874318,0,0)" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.59544;stroke-opacity:1"
+ id="rect845-4-2-2-40-1"
+ width="1.943174"
+ height="0.022766471"
+ x="1.1106329"
+ y="-23.423124"
+ transform="matrix(-0.00481872,0.99998839,-0.95874318,-0.28427368,0,0)" />
+ </g>
+ <g
+ id="g921-4"
+ transform="matrix(-0.73266354,0.68059102,0.71588328,0.69821997,32.166381,0.02251061)"
+ style="opacity:1">
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.50332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
+ d="M 5.6496339,3.1617897 H 25.056799 v 0.03224 H 5.6496339 Z"
+ id="path923-2" />
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.50332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
+ d="M 5.6503906,2.4101562 C 5.2350485,2.4100358 4.898317,2.7467673 4.8984375,3.1621094 v 0.03125 c -1.204e-4,0.4153421 0.336611,0.7520735 0.7519531,0.7519531 H 25.056641 c 0.415342,1.204e-4 0.752073,-0.336611 0.751953,-0.7519531 L 24.737581,-0.12374013 C 24.493696,2.1372587 24.241088,2.426127 22.836001,2.4101563 h -0.981297 -1.962593 -4.538595 z"
+ id="path925-2"
+ sodipodi:nodetypes="cccccccccccc" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 5fd1a1a..ae8d2dc 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -73,7 +73,7 @@ class Application extends App {
'id' => 'rainloop',
'order' => 10,
'href' => $urlGenerator->linkToRoute('rainloop.page.index'),
- 'icon' => $urlGenerator->imagePath('rainloop', 'mail.png'),
+ 'icon' => $urlGenerator->imagePath('rainloop', 'rainloop.svg'),
'name' => \OCP\Util::getL10N('rainloop')->t('Email')
];
});