[gtk/gtk-3-24-meson: 51/66] meson: widget-factory: install icons
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 51/66] meson: widget-factory: install icons
- Date: Sat, 30 Mar 2019 20:18:21 +0000 (UTC)
commit b3cc573a94380bc53286c02caac16639ec836a04
Author: Christoph Reiter <creiter src gnome org>
Date: Fri Mar 29 20:37:29 2019 +0100
meson: widget-factory: install icons
demos/widget-factory/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build
index 184a8abbb4..9ce9cc2213 100644
--- a/demos/widget-factory/meson.build
+++ b/demos/widget-factory/meson.build
@@ -9,6 +9,13 @@ widgetfactory_resources = gnome.compile_resources(
source_dir: '.'
)
+foreach s: [ '16', '22', '24', '32', '48', '256']
+ icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps')
+ icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory.png'),
+ join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory-symbolic.symbolic.png')]
+ install_data(icons, install_dir: icon_destdir)
+endforeach
+
widget_factory = executable(
'gtk3-widget-factory',
widgetfactory_sources,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]