[gtk/matthiasc/for-master: 5/14] bloatpad: Add icons as resources
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/14] bloatpad: Add icons as resources
- Date: Thu, 17 Jun 2021 13:00:30 +0000 (UTC)
commit df1116a0109134d9f4c6b309d2a792b5069659b7
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 16 09:35:00 2021 -0400
bloatpad: Add icons as resources
This can serve as a useful example for how to add
themed icons as resources.
examples/bp/bloatpad.gresources.xml | 5 +++++
.../actions/format-justify-center-symbolic.symbolic.png | Bin 0 -> 119 bytes
.../actions/format-justify-left-symbolic.symbolic.png | Bin 0 -> 115 bytes
.../actions/format-justify-right-symbolic.symbolic.png | Bin 0 -> 117 bytes
.../16x16/actions/view-fullscreen-symbolic.symbolic.png | Bin 0 -> 207 bytes
.../16x16/actions/view-restore-symbolic.symbolic.png | Bin 0 -> 204 bytes
6 files changed, 5 insertions(+)
---
diff --git a/examples/bp/bloatpad.gresources.xml b/examples/bp/bloatpad.gresources.xml
index 04650a7212..cdfeaf3004 100644
--- a/examples/bp/bloatpad.gresources.xml
+++ b/examples/bp/bloatpad.gresources.xml
@@ -4,5 +4,10 @@
<gresource prefix="/org/gtk/bloatpad">
<file preprocess="xml-stripblanks">gtk/menus.ui</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
+ <file>icons/16x16/actions/format-justify-center-symbolic.symbolic.png</file>
+ <file>icons/16x16/actions/format-justify-left-symbolic.symbolic.png</file>
+ <file>icons/16x16/actions/format-justify-right-symbolic.symbolic.png</file>
+ <file>icons/16x16/actions/view-fullscreen-symbolic.symbolic.png</file>
+ <file>icons/16x16/actions/view-restore-symbolic.symbolic.png</file>
</gresource>
</gresources>
diff --git a/examples/bp/icons/16x16/actions/format-justify-center-symbolic.symbolic.png
b/examples/bp/icons/16x16/actions/format-justify-center-symbolic.symbolic.png
new file mode 100644
index 0000000000..eeaf1084bf
Binary files /dev/null and b/examples/bp/icons/16x16/actions/format-justify-center-symbolic.symbolic.png
differ
diff --git a/examples/bp/icons/16x16/actions/format-justify-left-symbolic.symbolic.png
b/examples/bp/icons/16x16/actions/format-justify-left-symbolic.symbolic.png
new file mode 100644
index 0000000000..97c17f690f
Binary files /dev/null and b/examples/bp/icons/16x16/actions/format-justify-left-symbolic.symbolic.png differ
diff --git a/examples/bp/icons/16x16/actions/format-justify-right-symbolic.symbolic.png
b/examples/bp/icons/16x16/actions/format-justify-right-symbolic.symbolic.png
new file mode 100644
index 0000000000..ea948903d5
Binary files /dev/null and b/examples/bp/icons/16x16/actions/format-justify-right-symbolic.symbolic.png differ
diff --git a/examples/bp/icons/16x16/actions/view-fullscreen-symbolic.symbolic.png
b/examples/bp/icons/16x16/actions/view-fullscreen-symbolic.symbolic.png
new file mode 100644
index 0000000000..f8da0b3fc8
Binary files /dev/null and b/examples/bp/icons/16x16/actions/view-fullscreen-symbolic.symbolic.png differ
diff --git a/examples/bp/icons/16x16/actions/view-restore-symbolic.symbolic.png
b/examples/bp/icons/16x16/actions/view-restore-symbolic.symbolic.png
new file mode 100644
index 0000000000..737cb73d24
Binary files /dev/null and b/examples/bp/icons/16x16/actions/view-restore-symbolic.symbolic.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]