aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-08-25 11:32:47 +0200
committerThomas White <taw@physics.org>2022-08-25 11:32:47 +0200
commitd7079c3725df973d1444478881d8debfe39e065c (patch)
tree6a9b514f50af2e6db94047d3842c4ab2f1cd4702 /data
parent7f2c2fb5a158b313804775ba431f0131914db1b6 (diff)
GUI: Get icons via a GResource
Otherwise we have to mess around with custom paths whenever CrystFEL is installed in a non-system location.
Diffstat (limited to 'data')
-rw-r--r--data/crystfel.gresource.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/crystfel.gresource.xml b/data/crystfel.gresource.xml
new file mode 100644
index 00000000..7453a58b
--- /dev/null
+++ b/data/crystfel.gresource.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/de/desy/CrystFEL">
+ <file>crystfel-ambiguity.svg</file>
+ <file>crystfel.desktop</file>
+ <file>crystfel-export.svg</file>
+ <file>crystfel-fom.svg</file>
+ <file>crystfel.gresource.xml</file>
+ <file>crystfel-index-all.svg</file>
+ <file>crystfel-index-frame.svg</file>
+ <file>crystfel-load-data.svg</file>
+ <file>crystfel-merge.svg</file>
+ <file>crystfel-peak-detection.svg</file>
+ <file>crystfel.svg</file>
+ <file>crystfel-unitcell.svg</file>
+ </gresource>
+</gresources>