4 Commits

Author SHA1 Message Date
Matthias Clasen
34c104924f Avoid type name clash
GIO should not install types whose names don't start with 'g'.
This was causing the xdg-desktop-portal to crash, since it was
also trying to register Xdp types.
2016-07-04 22:53:30 -04:00
Matthias Clasen
de5b18dfc3 Move some portal support to its own files
This is better than copying these utility functions around to
multiple places.
2016-07-03 18:01:45 -04:00
Matthias Clasen
e8df162402 network monitor portal: Respect sandbox setup
When network is not available in the sandbox, there is
no point in reporting accurately about the network
status outside the sandbox. Just return 'no connection'
in this case.
2016-07-03 18:01:45 -04:00
Matthias Clasen
956d4858f3 Add a portalized network monitor implementation
The backend for this lives in xdg-desktop-portal, and is in turn
using GNetworkMonitor.
2016-07-03 18:01:45 -04:00