summaryrefslogtreecommitdiffstats
path: root/share/icons/Tango
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-08-03 23:30:25 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-08-03 23:30:25 +0000
commitbc3f2d78003fe893afd4d1ba748d78f1c2e26ed4 (patch)
tree47cff0a948d6d0d29c15d1261454569e53ef10bf /share/icons/Tango
parentFix test compiling bug (diff)
downloadinkscape-bc3f2d78003fe893afd4d1ba748d78f1c2e26ed4.tar.gz
inkscape-bc3f2d78003fe893afd4d1ba748d78f1c2e26ed4.zip
Add inkscape app icon to themes
Diffstat (limited to 'share/icons/Tango')
-rw-r--r--share/icons/Tango/16x16/apps/inkscape.pngbin0 -> 989 bytes
-rw-r--r--share/icons/Tango/22x22/apps/inkscape.pngbin0 -> 1452 bytes
-rw-r--r--share/icons/Tango/24x24/apps/inkscape.pngbin0 -> 1473 bytes
-rw-r--r--share/icons/Tango/256x256/apps/inkscape.pngbin0 -> 40270 bytes
-rw-r--r--share/icons/Tango/32x32/apps/inkscape.pngbin0 -> 2155 bytes
-rw-r--r--share/icons/Tango/48x48/apps/inkscape.pngbin0 -> 3818 bytes
-rw-r--r--share/icons/Tango/CMakeLists.txt17
-rw-r--r--share/icons/Tango/index.theme37
8 files changed, 50 insertions, 4 deletions
diff --git a/share/icons/Tango/16x16/apps/inkscape.png b/share/icons/Tango/16x16/apps/inkscape.png
new file mode 100644
index 000000000..e4aed9222
--- /dev/null
+++ b/share/icons/Tango/16x16/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/22x22/apps/inkscape.png b/share/icons/Tango/22x22/apps/inkscape.png
new file mode 100644
index 000000000..b1adda08c
--- /dev/null
+++ b/share/icons/Tango/22x22/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/24x24/apps/inkscape.png b/share/icons/Tango/24x24/apps/inkscape.png
new file mode 100644
index 000000000..4c2cded2c
--- /dev/null
+++ b/share/icons/Tango/24x24/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/256x256/apps/inkscape.png b/share/icons/Tango/256x256/apps/inkscape.png
new file mode 100644
index 000000000..76e07fb3d
--- /dev/null
+++ b/share/icons/Tango/256x256/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/32x32/apps/inkscape.png b/share/icons/Tango/32x32/apps/inkscape.png
new file mode 100644
index 000000000..aa445e4bc
--- /dev/null
+++ b/share/icons/Tango/32x32/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/48x48/apps/inkscape.png b/share/icons/Tango/48x48/apps/inkscape.png
new file mode 100644
index 000000000..668acfdef
--- /dev/null
+++ b/share/icons/Tango/48x48/apps/inkscape.png
Binary files differ
diff --git a/share/icons/Tango/CMakeLists.txt b/share/icons/Tango/CMakeLists.txt
index 2ff009c0b..de0644b69 100644
--- a/share/icons/Tango/CMakeLists.txt
+++ b/share/icons/Tango/CMakeLists.txt
@@ -1,5 +1,6 @@
set(THEME Tango)
-install(FILES "index.theme" DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/Tango)
+install(FILES "index.theme" DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/${THEME})
+
set(PIXMAP_SIZES "scalable")
set(CONTENT "actions")
@@ -9,3 +10,17 @@ foreach(pixmap_size ${PIXMAP_SIZES})
install(FILES ${PIXMAP_FILES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/${THEME}/${pixmap_size}/${content})
endforeach(content)
endforeach(pixmap_size)
+
+set(PIXMAP_SIZES "16x16" "22x22" "24x24" "32x32" "48x48" "256x256" "scalable" "symbolic")
+set(CONTENT "apps")
+
+foreach(pixmap_size ${PIXMAP_SIZES})
+ foreach(content ${CONTENT})
+ FILE(GLOB PIXMAP_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${pixmap_size}/${content}/*.png ${CMAKE_CURRENT_SOURCE_DIR}/${pixmap_size}/${content}/*.svg)
+ install(FILES ${PIXMAP_FILES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/${THEME}/${pixmap_size}/${content})
+ endforeach(content)
+endforeach(pixmap_size)
+
+if(WIN32)
+ install(CODE "execute_process(COMMAND gtk-update-icon-cache \${CMAKE_INSTALL_PREFIX}/${INKSCAPE_SHARE_INSTALL}/icons/${THEME})")
+endif()
diff --git a/share/icons/Tango/index.theme b/share/icons/Tango/index.theme
index 8330b2a43..572cc8672 100644
--- a/share/icons/Tango/index.theme
+++ b/share/icons/Tango/index.theme
@@ -2,18 +2,49 @@
Name=Tango
Comment=Tango icon theme
Hidden=true
-Directories=scalable/actions,symbolic/actions
+Directories=scalable/actions,scalable/apps,16x16/apps,22x22/apps,24x24/apps,32x32/apps,48x48/apps,256x256/apps
[scalable/actions]
MinSize=8
Size=16
MaxSize=512
-Context=Applications
+Context=Actions
Type=Scalable
-[symbolic/actions]
+[scalable/apps]
MinSize=8
Size=16
MaxSize=512
Context=Applications
Type=Scalable
+
+[16x16/apps]
+Context=Applications
+Size=16
+Type=Fixed
+
+[22x22/apps]
+Context=Applications
+Size=22
+Type=Fixed
+
+[24x24/apps]
+Context=Applications
+Size=24
+Type=Fixed
+
+[32x32/apps]
+Context=Applications
+Size=32
+Type=Fixed
+
+[48x48/apps]
+Context=Applications
+Size=48
+Type=Fixed
+
+[256x256/apps]
+Context=Applications
+Size=256
+Type=Fixed
+