-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from myfreeweb/nautilus-icon
x11-fm/nautilus: fix icons being all the same size
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From git master. Fixes the same 512x512 icon being installed as all sizes. | ||
--- data/meson.build.orig 2018-06-24 22:58:44 UTC | ||
+++ data/meson.build | ||
@@ -8,17 +8,15 @@ | ||
# https://gitlab.gnome.org/GNOME/nautilus/merge_requests/144 | ||
########## | ||
foreach icon_size: ['16x16', '22x22', '24x24', '32x32', '48x48', '512x512'] | ||
- configure_file( | ||
- command: [ | ||
- 'cp', '@INPUT@', '@OUTPUT@' | ||
- ], | ||
- input: files( | ||
- join_paths('icons', 'hicolor', icon_size, 'apps', 'org.gnome.Nautilus.png') | ||
- ), | ||
- install_dir: join_paths(datadir, 'icons', 'hicolor', icon_size, 'apps'), | ||
- output: '@[email protected]'.format(application_id) | ||
+ icondir = join_paths('icons', 'hicolor', icon_size, 'apps') | ||
+ | ||
+ install_data( | ||
+ join_paths(icondir, 'org.gnome.Nautilus.png'), | ||
+ install_dir: join_paths(datadir, icondir), | ||
+ rename: '@[email protected]'.format(application_id) | ||
) | ||
endforeach | ||
+ | ||
|
||
configure_file( | ||
command: [ |