Add GetMountPoint method for document portal

This is both to get the mount path and to have a nice way
to activate the mount.
This commit is contained in:
Alexander Larsson committed 2015-07-10 17:02:38 +02:00
1 parent 929071ad10
commit 4c4c66fc2d
4 files changed
+18

No files matched your search

@@ -25,6 +25,9 @@
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name='org.freedesktop.portal.Documents'>
<method name="GetMountPoint">
<arg type='ay' name='path' direction='out'/>
</method>
<method name="Add">
<arg type='s' name='uri' direction='in'/>
<arg type='u' name='doc_id' direction='out'/>