No description, website, or topics provided.
Switch branches/tags
Clone or download
Matthias Clasen
Matthias Clasen Add an icon to the notification
This lets us test icon validation in the notification portal.
Latest commit 73280e5 Nov 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
flatpak
COPYING
README.md
main.c
meson.build Generate code for flatpak portal Nov 26, 2018
org.freedesktop.portal.Account.xml
org.freedesktop.portal.Email.xml
org.freedesktop.portal.Flatpak.xml Generate code for flatpak portal Nov 26, 2018
org.freedesktop.portal.ScreenCast.xml
org.freedesktop.portal.Screenshot.xml
org.gnome.PortalTest.desktop
org.gnome.PortalTest.service
portal-test-app.c
portal-test-app.h
portal-test-win.c
portal-test-win.h
portal-test-win.ui
portal-test.gresource.xml
portal-test.service
test.txt

README.md

portal-test

A simple test application for Flatpak portals.

The portal interfaces are defined in xdg-desktop-portal.

A GTK+ implementation can be found in xdg-desktop-portal-gtk.

To use this test, first install the SDK:

flatpak remote-add --from gnome-nightly https://sdk.gnome.org/gnome-nightly.flatpakrepo
flatpak install gnome-nightly org.gnome.Platform org.gnome.Sdk

then use the build script in flatpak/ to produce a flatpak of portal-test, then install it with

flatpak remote-add --user --no-gpg-verify portal-test file:///path/to/repo
flatpak install --user portal-test org.gnome.PortalTest

and run it with

flatpak run org.gnome.PortalTest

The test expects the xdg-desktop-portal service (and a backend, such as xdg-desktop-portal-gtk) to be available on the session bus.