diff options
author | Gaël Bonithon <gael@xfce.org> | 2022-01-05 20:37:31 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2022-01-09 12:14:11 +0000 |
commit | b075248d977a6491a6f0f63f5bc67cdb16c3a0f8 (patch) | |
tree | aa1836f255475ba1a4abe9765f4859b2db807d25 /tumblerd/tumbler-manager-dbus.xml.in | |
parent | 724fd4465fa72a7202a97fa98850008f98272084 (diff) | |
download | tumbler-b075248d977a6491a6f0f63f5bc67cdb16c3a0f8.tar.gz |
Allow to choose an alternative service name prefix
This is primarily for Flatpak packaging, where a "private service" is
desirable, although one could imagine using it in other contexts. The
prefix must be specified via the environment variable
`TUMBLER_SERVICE_NAME_PREFIX`.
Related to xfconf#27, see !21 for more details.
Diffstat (limited to 'tumblerd/tumbler-manager-dbus.xml.in')
-rw-r--r-- | tumblerd/tumbler-manager-dbus.xml.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tumblerd/tumbler-manager-dbus.xml.in b/tumblerd/tumbler-manager-dbus.xml.in new file mode 100644 index 0000000..eda1364 --- /dev/null +++ b/tumblerd/tumbler-manager-dbus.xml.in @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<node name="@TUMBLER_SERVICE_PATH_PREFIX@/Manager1"> + <interface name="@TUMBLER_SERVICE_NAME_PREFIX@.Manager1"> + <annotation name="org.gtk.GDBus.C.Name" value="ExportedManager" /> + <method name="Register"> + <arg type="s" name="uri_scheme" direction="in" /> + <arg type="s" name="mime_type" direction="in" /> + </method> + </interface> +</node> |