From 7a1d098f6c7520101e9d72684eb82f98e9879b90 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 29 Jun 2023 15:38:54 +0100 Subject: [PATCH] docs: Update the OpenFile options The current_folder option is passed to the OpenFile invocation. --- ...rg.freedesktop.impl.portal.FileChooser.xml | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/data/org.freedesktop.impl.portal.FileChooser.xml b/data/org.freedesktop.impl.portal.FileChooser.xml index f38d2994e..b3bf981f0 100644 --- a/data/org.freedesktop.impl.portal.FileChooser.xml +++ b/data/org.freedesktop.impl.portal.FileChooser.xml @@ -86,6 +86,13 @@ See org.freedesktop.portal.FileChooser.OpenFile() for details. + + current_folder ay + + A suggested folder to open the files from. + See org.freedesktop.portal.FileChooser.OpenFile() for details. + + The following results get returned via the @results vardict: @@ -105,23 +112,15 @@ current_filter (sa(us)) - - - The filter that was selected. - See org.freedesktop.portal.FileChooser.OpenFile() for details. - - - - - writable b - Whether the file is opened with write access. Default is no. + The filter that was selected. + See org.freedesktop.portal.FileChooser.OpenFile() for details. - current_folder ay + writable b - A suggested folder to open the files from. + Whether the file is opened with write access. Default is no.