summaryrefslogtreecommitdiff
path: root/accessx-status/data
diff options
context:
space:
mode:
Diffstat (limited to 'accessx-status/data')
-rw-r--r--accessx-status/data/Makefile.am39
-rw-r--r--accessx-status/data/accessx-status-applet-menu.xml5
-rw-r--r--accessx-status/data/accessx-status-resources.gresource.xml6
-rw-r--r--accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in17
-rw-r--r--accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in3
5 files changed, 70 insertions, 0 deletions
diff --git a/accessx-status/data/Makefile.am b/accessx-status/data/Makefile.am
new file mode 100644
index 00000000..58df0294
--- /dev/null
+++ b/accessx-status/data/Makefile.am
@@ -0,0 +1,39 @@
+NULL =
+
+appletdir = $(datadir)/mate-panel/applets
+applet_in_files = org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in
+applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
+
+$(applet_in_files): $(applet_in_files).in Makefile
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
+ $< > $@
+
+$(applet_DATA): $(applet_in_files) Makefile
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.panel.applet.AccessxStatusAppletFactory.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.mate.panel.applet.AccessxStatusAppletFactory.service: $(service_in_files)
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ $< > $@
+
+CLEANFILES = \
+ $(applet_DATA) \
+ $(applet_in_files) \
+ $(service_DATA) \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(applet_in_files).in \
+ $(service_in_files) \
+ accessx-status-applet-menu.xml \
+ accessx-status-resources.gresource.xml \
+ $(NULL)
+
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/data/accessx-status-applet-menu.xml b/accessx-status/data/accessx-status-applet-menu.xml
new file mode 100644
index 00000000..f4d1c265
--- /dev/null
+++ b/accessx-status/data/accessx-status-applet-menu.xml
@@ -0,0 +1,5 @@
+<menuitem name="Item 1" action="Dialog" />
+<menuitem name="Item 2" action="Help" />
+<menuitem name="Item 3" action="About" />
+
+
diff --git a/accessx-status/data/accessx-status-resources.gresource.xml b/accessx-status/data/accessx-status-resources.gresource.xml
new file mode 100644
index 00000000..7d7d902f
--- /dev/null
+++ b/accessx-status/data/accessx-status-resources.gresource.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/mate/mate-applets/accessx-status">
+ <file compressed="true">accessx-status-applet-menu.xml</file>
+ </gresource>
+</gresources>
diff --git a/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
new file mode 100644
index 00000000..9d9200a7
--- /dev/null
+++ b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
@@ -0,0 +1,17 @@
+[Applet Factory]
+Id=AccessxStatusAppletFactory
+Location=@LIBEXECDIR@/accessx-status-applet
+Name=AccessX Status Applet Factory
+Description=Keyboard Accessibility Status Applet Factory
+
+[AccessxStatusApplet]
+Name=Keyboard Accessibility Status
+Description=Shows the status of keyboard accessibility features
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
+Icon=preferences-desktop-accessibility
+MateComponentId=OAFIID:MATE_AccessxStatusApplet
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-applets
+X-MATE-Bugzilla-Component=keyboard-accessibility (accessx-status)
+X-MATE-Bugzilla-Version=@VERSION@
+X-MATE-Bugzilla-OtherBinaries=accessx-status-applet
diff --git a/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in
new file mode 100644
index 00000000..7f5d055e
--- /dev/null
+++ b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.mate.panel.applet.AccessxStatusAppletFactory
+Exec=@LIBEXECDIR@/accessx-status-applet