[gnome-games] data: Remove HighContrast icons



commit b4e65760231db88b7f0cf1750ac5f56a6b7ba322
Author: Jorge Creixell <jcreixell gmail com>
Date:   Sun Feb 3 14:01:27 2019 +0100

    data: Remove HighContrast icons
    
    High Contrast icons are no longer needed in the new icon policy.
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-games/issues/135

 build-aux/post_install.py                          |   1 -
 .../HighContrast/16x16/apps/org.gnome.Games.png    | Bin 727 -> 0 bytes
 .../HighContrast/22x22/apps/org.gnome.Games.png    | Bin 1022 -> 0 bytes
 .../HighContrast/24x24/apps/org.gnome.Games.png    | Bin 1117 -> 0 bytes
 .../HighContrast/256x256/apps/org.gnome.Games.png  | Bin 10511 -> 0 bytes
 .../HighContrast/32x32/apps/org.gnome.Games.png    | Bin 1267 -> 0 bytes
 .../HighContrast/48x48/apps/org.gnome.Games.png    | Bin 1968 -> 0 bytes
 .../HighContrast/512x512/apps/org.gnome.Games.png  | Bin 24156 -> 0 bytes
 data/icons/HighContrast/org.gnome.Games.svg        | 324 ---------------------
 data/icons/meson.build                             |   7 -
 10 files changed, 332 deletions(-)
---
diff --git a/build-aux/post_install.py b/build-aux/post_install.py
index 4d770e08..a075a22e 100755
--- a/build-aux/post_install.py
+++ b/build-aux/post_install.py
@@ -14,7 +14,6 @@ if not destdir and len(sys.argv) > 1:
 
     print('Updating icon cache...')
     subprocess.call(['gtk-update-icon-cache', '-qtf', os.path.join(datadir, 'icons', 'hicolor')])
-    subprocess.call(['gtk-update-icon-cache', '-qtf', os.path.join(datadir, 'icons', 'HighContrast')])
 
     print('Updating desktop database...')
     subprocess.call(['update-desktop-database', '-q', os.path.join(datadir, 'icons', 'applications')])
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 1f1b5bc1..8a9f8bb5 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -2,19 +2,12 @@ icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256', '512x512']
 
 foreach icon_size: icon_sizes
   hicolor_dir = join_paths('hicolor', icon_size, 'apps')
-  highcontrast_dir = join_paths('HighContrast', icon_size, 'apps')
 
   install_data(
     join_paths(hicolor_dir, 'org.gnome.Games.png'),
     install_dir: join_paths(datadir, 'icons', hicolor_dir),
     rename: '@0@.png'.format(application_id)
   )
-
-  install_data(
-    join_paths(highcontrast_dir, 'org.gnome.Games.png'),
-    install_dir: join_paths(datadir, 'icons', highcontrast_dir),
-    rename: '@0@.png'.format(application_id)
-  )
 endforeach
 
 hicolor_dir = join_paths('hicolor', 'symbolic', 'apps')


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