diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-01 10:53:03 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-01 12:20:16 +0100 |
commit | 3465557a5b3b09b563fc45d2c3b13f09c4935a34 (patch) | |
tree | 134fd1cde7caea0c03b24edac9591a3d664c0755 /share | |
parent | 082f1aa41c9d08fcb72e0af14ce5f3475c93482b (diff) | |
download | logdiag-3465557a5b3b09b563fc45d2c3b13f09c4935a34.tar.gz logdiag-3465557a5b3b09b563fc45d2c3b13f09c4935a34.tar.xz logdiag-3465557a5b3b09b563fc45d2c3b13f09c4935a34.zip |
Use GResources for the UI file and the LICENSE
- The About dialog now displays the licence.
- The main UI file is now integrated into the binary.
The project needed some of its ugly CMake code back.
Diffstat (limited to 'share')
-rw-r--r-- | share/logdiag.gresource.xml | 7 | ||||
-rw-r--r-- | share/logdiag.ui (renamed from share/gui/window-main.ui) | 0 |
2 files changed, 7 insertions, 0 deletions
diff --git a/share/logdiag.gresource.xml b/share/logdiag.gresource.xml new file mode 100644 index 0000000..eae7e24 --- /dev/null +++ b/share/logdiag.gresource.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gresources> + <gresource prefix="/logdiag"> + <file>logdiag.ui</file> + <file alias="LICENSE">../LICENSE</file> + </gresource> +</gresources> diff --git a/share/gui/window-main.ui b/share/logdiag.ui index f826698..f826698 100644 --- a/share/gui/window-main.ui +++ b/share/logdiag.ui |