summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-12-02 15:55:41 +0100
committerAlexander Larsson <alexl@redhat.com>2015-12-02 15:55:41 +0100
commit3ce0c6f7f96cbb68268a5eb43cc2b8c05d9c4327 (patch)
tree946962cfb4d406cf56ffdd646b41e3868b53cad5 /data
parent9fd6ce1779523613110a9ad2473dd55e119179da (diff)
downloadxdg-app-3ce0c6f7f96cbb68268a5eb43cc2b8c05d9c4327.tar.gz
document portal: Add AddNamed method for host-side use
This is needed for the "save as" file selector portal
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.portal.Documents.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/org.freedesktop.portal.Documents.xml b/data/org.freedesktop.portal.Documents.xml
index d18a738..2b65b4e 100644
--- a/data/org.freedesktop.portal.Documents.xml
+++ b/data/org.freedesktop.portal.Documents.xml
@@ -34,6 +34,13 @@
<arg type='b' name='persistent' direction='in'/>
<arg type='s' name='doc_id' direction='out'/>
</method>
+ <method name="AddNamed">
+ <arg type='h' name='o_path_parent_fd' direction='in'/>
+ <arg type='ay' name='filename' direction='in'/>
+ <arg type='b' name='reuse_existing' direction='in'/>
+ <arg type='b' name='persistent' direction='in'/>
+ <arg type='s' name='doc_id' direction='out'/>
+ </method>
<method name="GrantPermissions">
<arg type='s' name='doc_id' direction='in'/>
<arg type='s' name='app_id' direction='in'/>