[nautilus] Revert "build: Don't loop over icons"



commit 37799d64caed4a6e06b5ed534012664b5afaf812
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Fri Sep 14 05:09:47 2018 +0000

    Revert "build: Don't loop over icons"
    
    This reverts commit a7a03f6398d37d353cef89ce16ed4fb2f1b60962

 data/meson.build | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index e7b67819f..82c41e9ab 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,9 +1,12 @@
-icondir = join_paths('icons', 'hicolor', 'scalable', 'apps')
-install_data(
-  join_paths(icondir, 'org.gnome.Nautilus.svg'),
-  install_dir: join_paths(datadir, icondir),
-  rename: '@0@.svg'.format(application_id)
-)
+foreach icon_size: ['scalable']
+  icondir = join_paths('icons', 'hicolor', icon_size, 'apps')
+
+  install_data(
+    join_paths(icondir, 'org.gnome.Nautilus.svg'),
+    install_dir: join_paths(datadir, icondir),
+    rename: '@0@.svg'.format(application_id)
+  )
+endforeach
 
 icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]