Skip to content

Commit

Permalink
docs: Update the OpenFile options
Browse files Browse the repository at this point in the history
The current_folder option is passed to the OpenFile invocation.
  • Loading branch information
Emmanuele Bassi authored and GeorgesStavracas committed Jun 30, 2023
1 parent 71165a5 commit 7a1d098
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions data/org.freedesktop.impl.portal.FileChooser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@
See org.freedesktop.portal.FileChooser.OpenFile() for details.
</para></listitem>
</varlistentry>
<varlistentry>
<term>current_folder ay</term>
<listitem><para>
A suggested folder to open the files from.
See org.freedesktop.portal.FileChooser.OpenFile() for details.
</para></listitem>
</varlistentry>
</variablelist>
The following results get returned via the @results vardict:
Expand All @@ -105,23 +112,15 @@
</varlistentry>
<varlistentry>
<term>current_filter (sa(us))</term>
<listitem>
<para>
The filter that was selected.
See org.freedesktop.portal.FileChooser.OpenFile() for details.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>writable b</term>
<listitem><para>
Whether the file is opened with write access. Default is no.
The filter that was selected.
See org.freedesktop.portal.FileChooser.OpenFile() for details.
</para></listitem>
</varlistentry>
<varlistentry>
<term>current_folder ay</term>
<term>writable b</term>
<listitem><para>
A suggested folder to open the files from.
Whether the file is opened with write access. Default is no.
</para></listitem>
</varlistentry>
</variablelist>
Expand Down

0 comments on commit 7a1d098

Please sign in to comment.