diff options
Diffstat (limited to 'drivemount/data')
6 files changed, 83 insertions, 0 deletions
diff --git a/drivemount/data/Makefile.am b/drivemount/data/Makefile.am new file mode 100644 index 00000000..b0dc7718 --- /dev/null +++ b/drivemount/data/Makefile.am @@ -0,0 +1,45 @@ +NULL = + +drivemount_gschema_in_files = org.mate.drivemount.gschema.xml.in +gsettings_SCHEMAS = $(drivemount_gschema_in_files:.xml.in=.xml) +@GSETTINGS_RULES@ + +appletdir = $(datadir)/mate-panel/applets +applet_in_files = org.mate.applets.DriveMountApplet.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.DriveMountAppletFactory.service.in +service_DATA = $(service_in_files:.service.in=.service) + +org.mate.panel.applet.DriveMountAppletFactory.service: $(service_in_files) + $(AM_V_GEN)sed \ + -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \ + $< > $@ + +CLEANFILES = \ + $(applet_DATA) \ + $(applet_in_files) \ + $(service_DATA) \ + $(gsettings_SCHEMAS) \ + *.gschema.valid \ + $(NULL) + +EXTRA_DIST = \ + $(applet_in_files:=.in) \ + $(drivemount_gschema_in_files) \ + $(service_in_files) \ + drivemount-applet-menu.xml \ + drivemount-resources.gresource.xml \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/drivemount/data/drivemount-applet-menu.xml b/drivemount/data/drivemount-applet-menu.xml new file mode 100644 index 00000000..efc26591 --- /dev/null +++ b/drivemount/data/drivemount-applet-menu.xml @@ -0,0 +1,3 @@ +<menuitem name="Help" action="Help" /> +<menuitem name="About" action="About" /> + diff --git a/drivemount/data/drivemount-resources.gresource.xml b/drivemount/data/drivemount-resources.gresource.xml new file mode 100644 index 00000000..3a8c57a8 --- /dev/null +++ b/drivemount/data/drivemount-resources.gresource.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gresources> + <gresource prefix="/org/mate/mate-applets/drivemount"> + <file compressed="true">drivemount-applet-menu.xml</file> + </gresource> +</gresources> diff --git a/drivemount/data/org.mate.applets.DriveMountApplet.mate-panel-applet.desktop.in.in b/drivemount/data/org.mate.applets.DriveMountApplet.mate-panel-applet.desktop.in.in new file mode 100644 index 00000000..637628d2 --- /dev/null +++ b/drivemount/data/org.mate.applets.DriveMountApplet.mate-panel-applet.desktop.in.in @@ -0,0 +1,17 @@ +[Applet Factory] +Id=DriveMountAppletFactory +Location=@LIBEXECDIR@/mate-drivemount-applet +Name=Drive Mount Applet Factory +Description=Factory for drive mount applet + +[DriveMountApplet] +Name=Disk Mounter +Description=Mount local disks and devices +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=media-floppy +MateComponentId=OAFIID:MATE_DriveMountApplet +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-applets +X-MATE-Bugzilla-Component=Disk Mounter (drivemount) +X-MATE-Bugzilla-Version=@VERSION@ +X-MATE-Bugzilla-OtherBinaries=drivemount_applet2 diff --git a/drivemount/data/org.mate.drivemount.gschema.xml.in b/drivemount/data/org.mate.drivemount.gschema.xml.in new file mode 100644 index 00000000..24ffe871 --- /dev/null +++ b/drivemount/data/org.mate.drivemount.gschema.xml.in @@ -0,0 +1,9 @@ +<schemalist gettext-domain="@GETTEXT_PACKAGE@"> + <schema id="org.mate.drivemount" path="/org/mate/panel/drivemount/"> + <key name="drivemount-checkmark-color" type="s"> + <default>'#00e300'</default> + <summary>Checkmark color for mounted drive or share</summary> + <description>Default color in a hex value.</description> + </key> + </schema> +</schemalist> diff --git a/drivemount/data/org.mate.panel.applet.DriveMountAppletFactory.service.in b/drivemount/data/org.mate.panel.applet.DriveMountAppletFactory.service.in new file mode 100644 index 00000000..90d44b42 --- /dev/null +++ b/drivemount/data/org.mate.panel.applet.DriveMountAppletFactory.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.mate.panel.applet.DriveMountAppletFactory +Exec=@LIBEXECDIR@/mate-drivemount-applet |