summaryrefslogtreecommitdiff
path: root/multiload/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-13 20:29:21 +0100
committerraveit65 <[email protected]>2020-12-14 10:53:50 +0100
commit7363693872c492c084e52de797126c7f887a16a1 (patch)
tree64913a4b59dc039efa6e86bb0ed04a8c5a053665 /multiload/data
parenta28479d294dcef50fa5f980f5c359382820997ce (diff)
downloadmate-applets-7363693872c492c084e52de797126c7f887a16a1.tar.bz2
mate-applets-7363693872c492c084e52de797126c7f887a16a1.tar.xz
multiload: load menu from resource bundle
Diffstat (limited to 'multiload/data')
-rw-r--r--multiload/data/Makefile.am6
-rw-r--r--multiload/data/multiload-resources.gresource.xml6
2 files changed, 8 insertions, 4 deletions
diff --git a/multiload/data/Makefile.am b/multiload/data/Makefile.am
index bacb6f1e..9c7357f2 100644
--- a/multiload/data/Makefile.am
+++ b/multiload/data/Makefile.am
@@ -2,9 +2,6 @@ multiload_gschema_in_files = org.mate.panel.applet.multiload.gschema.xml.in
gsettings_SCHEMAS = $(multiload_gschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
-uidir = $(datadir)/mate/ui
-ui_DATA = multiload-applet-menu.xml
-
appletdir = $(datadir)/mate-panel/applets
applet_in_in_files = org.mate.applets.MultiLoadApplet.mate-panel-applet.desktop.in.in
applet_in_files = $(applet_in_in_files:.desktop.in.in=.desktop.in)
@@ -39,6 +36,7 @@ EXTRA_DIST = \
$(applet_in_in_files) \
$(service_in_files) \
$(multiload_gschema_in_files) \
- $(ui_DATA)
+ multiload-applet-menu.xml \
+ multiload-resources.gresource.xml
-include $(top_srcdir)/git.mk
diff --git a/multiload/data/multiload-resources.gresource.xml b/multiload/data/multiload-resources.gresource.xml
new file mode 100644
index 00000000..490e97c2
--- /dev/null
+++ b/multiload/data/multiload-resources.gresource.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/mate/mate-applets/multiload">
+ <file compressed="true">multiload-applet-menu.xml</file>
+ </gresource>
+</gresources>