summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-17 12:20:42 +0200
committerVictor Kareh <[email protected]>2019-08-20 13:50:15 -0400
commit7214cf362179010b6c1e9f9cc2186e7ea7dd590c (patch)
treea96c5d0d5d44e753e958dbb7acc6314dd7e68760 /data
parent19b7297855ef254c788affc1ec1214399f00e9e8 (diff)
downloadmate-power-manager-7214cf362179010b6c1e9f9cc2186e7ea7dd590c.tar.bz2
mate-power-manager-7214cf362179010b6c1e9f9cc2186e7ea7dd590c.tar.xz
Use gresources for gpm-prefs.ui and gpm-statistics.ui
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am40
-rw-r--r--data/org.mate.power-manager.preferences.gresource.xml22
-rw-r--r--data/org.mate.power-manager.statistics.gresource.xml22
3 files changed, 65 insertions, 19 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 0974e1d..436cdf7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,31 +24,33 @@ $(service_DATA): $(service_in_files) Makefile
gsettings_schemas_in_files = org.mate.power-manager.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_schemas_in_files:.xml.in=.xml)
-pkgdata_DATA = \
- gpm-statistics.ui \
- gpm-prefs.ui \
+pkgdata_DATA = \
acme.ui
-man_MANS = \
- mate-power-manager.1 \
- mate-power-backlight-helper.1 \
- mate-power-statistics.1 \
+man_MANS = \
+ mate-power-manager.1 \
+ mate-power-backlight-helper.1 \
+ mate-power-statistics.1 \
mate-power-preferences.1
-EXTRA_DIST = \
- $(service_in_files) \
- $(autostart_in_files) \
- $(desktop_in_files) \
- $(gsettings_schemas_in_files) \
- $(pkgdata_DATA) \
- $(man_MANS)
+EXTRA_DIST = \
+ $(service_in_files) \
+ $(autostart_in_files) \
+ $(desktop_in_files) \
+ $(gsettings_schemas_in_files) \
+ $(pkgdata_DATA) \
+ $(man_MANS) \
+ org.mate.power-manager.preferences.gresource.xml \
+ org.mate.power-manager.statistics.gresource.xml \
+ gpm-prefs.ui \
+ gpm-statistics.ui
clean-local :
rm -f *~
-DISTCLEANFILES = \
- mate-power-manager.desktop \
- mate-power-preferences.desktop \
- mate-power-statistics.desktop \
- org.mate.PowerManager.service \
+DISTCLEANFILES = \
+ mate-power-manager.desktop \
+ mate-power-preferences.desktop \
+ mate-power-statistics.desktop \
+ org.mate.PowerManager.service \
$(gsettings_SCHEMAS)
diff --git a/data/org.mate.power-manager.preferences.gresource.xml b/data/org.mate.power-manager.preferences.gresource.xml
new file mode 100644
index 0000000..fd4f94c
--- /dev/null
+++ b/data/org.mate.power-manager.preferences.gresource.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of MATE Power Manager.
+
+ MATE Power Manager 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 Power Manager 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 Power Manager. If not, see <http://www.gnu.org/licenses/>.
+-->
+<gresources>
+ <gresource prefix="/org/mate/powermanager/preferences/">
+ <file compressed="true">gpm-prefs.ui</file>
+ </gresource>
+</gresources>
diff --git a/data/org.mate.power-manager.statistics.gresource.xml b/data/org.mate.power-manager.statistics.gresource.xml
new file mode 100644
index 0000000..a879e53
--- /dev/null
+++ b/data/org.mate.power-manager.statistics.gresource.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of MATE Power Manager.
+
+ MATE Power Manager 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 Power Manager 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 Power Manager. If not, see <http://www.gnu.org/licenses/>.
+-->
+<gresources>
+ <gresource prefix="/org/mate/powermanager/statistics/">
+ <file compressed="true">gpm-statistics.ui</file>
+ </gresource>
+</gresources>