1
0
Fork 0
mirror of https://github.com/matomo-org/matomo-icons.git synced 2024-09-19 17:03:45 +02:00

remove unused social and search icons

This commit is contained in:
Lukas Winkler 2017-11-17 12:53:43 +01:00
parent d4d8bf63b7
commit 62512507a4
34 changed files with 5 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 633 B

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 664 B

View file

@ -1 +0,0 @@
../brand/Google.svg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

View file

@ -1 +0,0 @@
ask.com.png.source

View file

@ -1 +0,0 @@
facebook.com.svg

View file

@ -1 +0,0 @@
facebook.com.svg.source

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

View file

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 B

View file

@ -1 +0,0 @@
linkedin.com.png

View file

@ -1 +0,0 @@
linkedin.com.png.source

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1 +0,0 @@
twitter.com.svg

View file

@ -1 +0,0 @@
twitter.com.svg.source

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

View file

@ -1 +0,0 @@
youtube.com.jpg

View file

@ -1 +0,0 @@
youtube.com.jpg.source

View file

@ -26,7 +26,8 @@ ignored_source_files = [
"src/flags/gb-wls.svg", "src/flags/gb-wls.svg",
"src/flags/gb-sct.svg", "src/flags/gb-sct.svg",
"src/flags/gb-eng.svg", "src/flags/gb-eng.svg",
"src/flags/gb-nir.svg" "src/flags/gb-nir.svg",
"src/flags/es-ct.svg"
] ]
placeholder_icon_filenames = { placeholder_icon_filenames = {
@ -193,8 +194,10 @@ def look_for_search_and_social_icon(source, mode, outputdir):
# print(correct_files) # print(correct_files)
for filetype in ["svg", "png", "gif", "jpg", "ico"]: for filetype in ["svg", "png", "gif", "jpg", "ico"]:
for file in glob(outputdir + "*.{ext}".format(ext=filetype)): for file in glob(outputdir + "*.{ext}".format(ext=filetype)):
if os.path.splitext(os.path.basename(file))[0] not in correct_files: domain = os.path.splitext(os.path.basename(file))[0]
if domain not in correct_files and domain != "xx":
print("{file} is not necessary".format(file=file)) print("{file} is not necessary".format(file=file))
error = True
def test_if_all_search_and_social_sites_have_an_icon(): def test_if_all_search_and_social_sites_have_an_icon():