summaryrefslogtreecommitdiff
path: root/netspeed/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-29 12:57:44 +0200
committerraveit65 <[email protected]>2020-08-11 12:40:09 +0200
commite095fd2471fb9b41c264e502473fea19a445b938 (patch)
tree07343422ab85257fa60ee80895027f2bccd9a43b /netspeed/data
parent61621285351bcab5e21de1586f319b330cf69c40 (diff)
downloadmate-applets-e095fd2471fb9b41c264e502473fea19a445b938.tar.bz2
mate-applets-e095fd2471fb9b41c264e502473fea19a445b938.tar.xz
netspeed: Load netspeed-menu.xml from resources
Diffstat (limited to 'netspeed/data')
-rw-r--r--netspeed/data/Makefile.am5
-rw-r--r--netspeed/data/netspeed-resources.gresource.xml1
2 files changed, 2 insertions, 4 deletions
diff --git a/netspeed/data/Makefile.am b/netspeed/data/Makefile.am
index 54cd6597..350217f2 100644
--- a/netspeed/data/Makefile.am
+++ b/netspeed/data/Makefile.am
@@ -14,9 +14,6 @@ $(applet_in_files): $(applet_in_files).in Makefile
$(applet_DATA): $(applet_in_files) Makefile
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
-xmluidir = $(datadir)/mate/ui
-xmlui_DATA = netspeed-menu.xml
-
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.panel.applet.NetspeedAppletFactory.service.in
service_DATA = $(service_in_files:.service.in=.service)
@@ -32,10 +29,10 @@ gsettings_SCHEMAS = $(netspeed_gschema_in_files:.xml.in=.xml)
EXTRA_DIST = \
$(applet_in_files).in \
- $(xmlui_DATA) \
$(service_in_files) \
$(netspeed_gschema_in_files) \
netspeed-details.ui \
+ netspeed-menu.xml \
netspeed-preferences.ui \
netspeed-resources.gresource.xml \
$(NULL)
diff --git a/netspeed/data/netspeed-resources.gresource.xml b/netspeed/data/netspeed-resources.gresource.xml
index d083d9c7..a486d54c 100644
--- a/netspeed/data/netspeed-resources.gresource.xml
+++ b/netspeed/data/netspeed-resources.gresource.xml
@@ -2,6 +2,7 @@
<gresources>
<gresource prefix="/org/mate/mate-applets/netspeed">
<file compressed="true">netspeed-details.ui</file>
+ <file compressed="true">netspeed-menu.xml</file>
<file compressed="true">netspeed-preferences.ui</file>
</gresource>
</gresources>