Skip to content

Commit

Permalink
Revert "docs: Integrate org.freedesktop.host.portal.Registry"
Browse files Browse the repository at this point in the history
This reverts commit abf63a0.
  • Loading branch information
GeorgesStavracas committed Feb 12, 2025
1 parent 5a8c162 commit c49cdc2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
16 changes: 2 additions & 14 deletions doc/api-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,8 @@ API Reference
Portal interfaces are available to sandboxed applications with the default
filtered session bus access of Flatpak.

Desktop portals appear under the bus name ``org.freedesktop.portal.Desktop``
and the object path ``/org/freedesktop/portal/desktop`` on the session bus,
unless specified otherwise.

Apps running on the host system have access to a special interface for
registering themselves with XDG Desktop Portal. Registering a host app with
XDG Desktop Portal overwrites the automatic detection based on the
`XDG cgroup pathname standardization for applications
<https://systemd.io/DESKTOP_ENVIRONMENTS/#xdg-standardization-for-applications>`_.
This might improve the user experience when the host app was launched in a way
that doesn't follow the standard. See
:doc:`org.freedesktop.host.portal.Registry <doc-org.freedesktop.host.portal.Registry>`

All apps have access to the portals below:
Unless otherwise specified, they appear under the bus name ``org.freedesktop.portal.Desktop``
and the object path ``/org/freedesktop/portal/desktop`` on the session bus.

.. toctree::
:maxdepth: 1
Expand Down
2 changes: 0 additions & 2 deletions doc/fix-rst-dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ def adjust_title(lines):
adjusted_title = title.replace("org.freedesktop.portal.", "")
elif title.startswith("org.freedesktop.impl.portal"):
adjusted_title = title.replace("org.freedesktop.impl.portal.", "")
elif title.startswith("org.freedesktop.host.portal"):
adjusted_title = title.replace("org.freedesktop.host.portal.", "")
elif title.startswith("org.freedesktop.background.Monitor"):
adjusted_title = title.replace(
"org.freedesktop.background.Monitor", "Background Apps Monitor"
Expand Down
3 changes: 0 additions & 3 deletions doc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ if build_documentation
foreach i: portal_sources
all_interfaces_xml += i
endforeach
foreach i: portal_host_sources
all_interfaces_xml += i
endforeach
foreach i: portal_impl_sources
all_interfaces_xml += i
endforeach
Expand Down

0 comments on commit c49cdc2

Please sign in to comment.