Skip to content

Commit 9cfbf55

Browse files
authored
Icons: sort into folders (#1044)
1 parent 1f3b78b commit 9cfbf55

56 files changed

Lines changed: 173 additions & 96 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/Icons/icons.gresource.xml

Lines changed: 100 additions & 88 deletions
Large diffs are not rendered by default.

lib/Icons/index.theme

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,41 @@ Name=Granite
33
Hidden=true
44

55
Example=folder
6-
Directories=scalable
6+
Directories=16x16/emblems, 16x16@2/emblems, scalable/actions, scalable/categories, scalable/status, scalable/ui
77

8-
[scalable]
8+
[16x16/emblems]
9+
Context=Emblems
10+
Size=16
11+
Type=Fixed
12+
13+
[16x16@2/emblems]
14+
Context=Emblems
15+
Size=16
16+
Scale=2
17+
Type=Fixed
18+
19+
[scalable/actions]
20+
Context=Actions
21+
Size=16
22+
MinSize=8
23+
MaxSize=512
24+
Type=Scalable
25+
26+
[scalable/categories]
27+
Context=Categories
28+
Size=16
29+
MinSize=8
30+
MaxSize=512
31+
Type=Scalable
32+
33+
[scalable/status]
34+
Context=Status
35+
Size=16
36+
MinSize=8
37+
MaxSize=512
38+
Type=Scalable
39+
40+
[scalable/ui]
941
Context=UI
1042
Size=16
1143
MinSize=8

lib/Icons/meson.build

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,49 @@
11
icons_resource = gnome.compile_resources(
22
'icons-resource',
3-
'icons.gresource.xml'
3+
'icons.gresource.xml',
4+
source_dir: [
5+
'scalable/actions/',
6+
'scalable/categories/',
7+
'scalable/status/',
8+
'scalable/ui/'
9+
]
410
)
511

612
icon_dir = get_option('datadir') / 'icons' / 'Granite'
713

8-
install_subdir(
9-
'scalable',
10-
install_dir: icon_dir
11-
)
12-
1314
install_data(
1415
'index.theme',
1516
install_dir: icon_dir
1617
)
18+
19+
install_subdir(
20+
'16',
21+
install_dir: icon_dir / '16x16/emblems',
22+
strip_directory : true
23+
)
24+
25+
install_symlink(
26+
'16x16@2',
27+
install_dir: icon_dir,
28+
pointing_to: '16x16'
29+
)
30+
31+
install_subdir(
32+
'scalable/actions',
33+
install_dir: icon_dir / 'scalable'
34+
)
35+
36+
install_subdir(
37+
'scalable/categories',
38+
install_dir: icon_dir / 'scalable'
39+
)
40+
41+
install_subdir(
42+
'scalable/status',
43+
install_dir: icon_dir / 'scalable'
44+
)
45+
46+
install_subdir(
47+
'scalable/ui',
48+
install_dir: icon_dir / 'scalable'
49+
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/Icons/scalable/view-more-horizontal-symbolic.svg renamed to lib/Icons/scalable/actions/view-more-horizontal-symbolic.svg

File renamed without changes.

0 commit comments

Comments
 (0)