summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r--libmate-panel-applet/Makefile.am10
-rw-r--r--libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.desktop.in11
-rw-r--r--libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.in10
3 files changed, 16 insertions, 15 deletions
diff --git a/libmate-panel-applet/Makefile.am b/libmate-panel-applet/Makefile.am
index b5f6e6c9..e7a2c22a 100644
--- a/libmate-panel-applet/Makefile.am
+++ b/libmate-panel-applet/Makefile.am
@@ -92,13 +92,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmatepanelapplet-4.0.pc
appletdir = $(datadir)/mate-panel/applets
-applet_in_files = org.mate.panel.TestApplet.mate-panel-applet.in
-noinst_DATA = $(applet_in_files:.mate-panel-applet.in=.mate-panel-applet)
-
-@PANEL_INTLTOOL_MATE_PANEL_APPLET_RULE@
+applet_in_files = org.mate.panel.TestApplet.mate-panel-applet.desktop.in
+noinst_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
+$(noinst_DATA): $(applet_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword Name --keyword Description --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = \
- org.mate.panel.TestApplet.mate-panel-applet.in \
+ org.mate.panel.TestApplet.mate-panel-applet.desktop.in \
mate-panel-applet-marshal.list \
libmatepanelapplet-4.0.pc.in \
libmatepanelapplet-4.0-uninstalled.pc.in
diff --git a/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.desktop.in b/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.desktop.in
new file mode 100644
index 00000000..aad90fdb
--- /dev/null
+++ b/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.desktop.in
@@ -0,0 +1,11 @@
+[Applet Factory]
+Id=TestAppletFactory
+Location=test-dbus-applet
+Name=Test DBus Applet Factory
+Description=Factory for Test DBus Applet
+
+[TestApplet]
+Name=Test DBus Applet
+Description=A simple applet for testing the MATE panel
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
+Icon=mate-gegl
diff --git a/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.in b/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.in
deleted file mode 100644
index 10a9544f..00000000
--- a/libmate-panel-applet/org.mate.panel.TestApplet.mate-panel-applet.in
+++ /dev/null
@@ -1,10 +0,0 @@
-[Applet Factory]
-Id=TestAppletFactory
-Location=test-dbus-applet
-_Name=Test DBus Applet Factory
-_Description=Factory for Test DBus Applet
-
-[TestApplet]
-_Name=Test DBus Applet
-_Description=A simple applet for testing the MATE panel
-Icon=mate-gegl