summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-26 16:25:16 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-26 16:25:16 +0000
commitfe80b6735d74710229fadf503e750b615ab531f6 (patch)
tree764c721a3bb5bf89cc5eb8b552fd167e2af42b9b /share
parentFixing paths to allow themes and icons inside main inkscape instalation not o... (diff)
downloadinkscape-fe80b6735d74710229fadf503e750b615ab531f6.tar.gz
inkscape-fe80b6735d74710229fadf503e750b615ab531f6.zip
Add allow to use system icon sets
Diffstat (limited to 'share')
-rw-r--r--share/icons/Tango/CMakeLists.txt2
-rw-r--r--share/icons/Tango/index.theme11
-rw-r--r--share/icons/hicolor/CMakeLists.txt1
-rw-r--r--share/icons/hicolor/index.theme11
4 files changed, 24 insertions, 1 deletions
diff --git a/share/icons/Tango/CMakeLists.txt b/share/icons/Tango/CMakeLists.txt
index 6770ff5ef..2ff009c0b 100644
--- a/share/icons/Tango/CMakeLists.txt
+++ b/share/icons/Tango/CMakeLists.txt
@@ -1,5 +1,5 @@
set(THEME Tango)
-
+install(FILES "index.theme" DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/Tango)
set(PIXMAP_SIZES "scalable")
set(CONTENT "actions")
diff --git a/share/icons/Tango/index.theme b/share/icons/Tango/index.theme
new file mode 100644
index 000000000..18821120c
--- /dev/null
+++ b/share/icons/Tango/index.theme
@@ -0,0 +1,11 @@
+[Icon Theme]
+Name=Tango
+Comment=Tango icon theme
+Hidden=true
+Directories=scalable/actions
+
+[scalable/actions]
+Size=16
+Context=Actions
+Type=Threshold
+
diff --git a/share/icons/hicolor/CMakeLists.txt b/share/icons/hicolor/CMakeLists.txt
index 1e52c2dd8..1b28bedb0 100644
--- a/share/icons/hicolor/CMakeLists.txt
+++ b/share/icons/hicolor/CMakeLists.txt
@@ -1,3 +1,4 @@
+install(FILES "index.theme" DESTINATION ${INKSCAPE_SHARE_INSTALL}/icons/hicolor)
set(THEME hicolor)
set(PIXMAP_SIZES "scalable")
diff --git a/share/icons/hicolor/index.theme b/share/icons/hicolor/index.theme
new file mode 100644
index 000000000..628afac0e
--- /dev/null
+++ b/share/icons/hicolor/index.theme
@@ -0,0 +1,11 @@
+[Icon Theme]
+Name=Hicolor
+Comment=Fallback icon theme
+Hidden=true
+Directories=scalable/actions
+
+[scalable/actions]
+Size=16
+Context=Actions
+Type=Threshold
+