diff options
author | rbuj <[email protected]> | 2019-12-09 23:05:56 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-12-23 08:55:37 +0100 |
commit | d6318fc5174c6e5915ed22c53b17a681850c97c0 (patch) | |
tree | 52e0c82b9e6318f70ffb07fac79b0d396970a6f9 /mate-screenshot/data | |
parent | b8b0f4f70656476e51c0a645875d07c8c8225626 (diff) | |
download | mate-utils-d6318fc5174c6e5915ed22c53b17a681850c97c0.tar.bz2 mate-utils-d6318fc5174c6e5915ed22c53b17a681850c97c0.tar.xz |
Use gresources for UI files
Diffstat (limited to 'mate-screenshot/data')
-rw-r--r-- | mate-screenshot/data/Makefile.am | 7 | ||||
-rw-r--r-- | mate-screenshot/data/org.mate.screenshot.gresource.xml | 22 |
2 files changed, 25 insertions, 4 deletions
diff --git a/mate-screenshot/data/Makefile.am b/mate-screenshot/data/Makefile.am index d96df67f..2b4ede33 100644 --- a/mate-screenshot/data/Makefile.am +++ b/mate-screenshot/data/Makefile.am @@ -4,8 +4,6 @@ mate_screenshot_DATA = $(mate_screenshot_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ man_MANS = mate-screenshot.1 -uidir = $(datadir)/mate-screenshot -ui_DATA = mate-screenshot.ui @INTLTOOL_XML_RULE@ appdatadir = $(datadir)/metainfo @@ -17,9 +15,10 @@ gsettings_SCHEMAS = org.mate.screenshot.gschema.xml EXTRA_DIST = \ $(appdata_in_files) \ - $(mate_screenshot_in_files) \ + $(mate_screenshot_in_files) \ $(man_MANS) \ - $(ui_DATA) + mate-screenshot.ui \ + org.mate.screenshot.gresource.xml CLEANFILES = \ $(gsettings_SCHEMAS) \ diff --git a/mate-screenshot/data/org.mate.screenshot.gresource.xml b/mate-screenshot/data/org.mate.screenshot.gresource.xml new file mode 100644 index 00000000..33c75736 --- /dev/null +++ b/mate-screenshot/data/org.mate.screenshot.gresource.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + This file is part of MATE Utils. + + MATE Utils is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + MATE Utils is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with MATE Utils. If not, see <http://www.gnu.org/licenses/>. +--> +<gresources> + <gresource prefix="/org/mate/screenshot"> + <file compressed="true">mate-screenshot.ui</file> + </gresource> +</gresources> |