mikelolasagasti / revelation

Revelation is a password manager for the GNOME desktop, released under the GNU GPL license. It stores all your accounts and passwords in a single, secure place, and gives you access to it through a user-friendly graphical interface.
https://revelation.olasagasti.info
GNU General Public License v2.0
55 stars 24 forks source link

Migrate from Gtk.FileChooserDialog to Gtk.FileChooserNative #27

Closed mikelolasagasti closed 4 years ago

mikelolasagasti commented 4 years ago

This is required for Flatpak not having to have complete access to $HOME.

"When the application is running in a sandboxed environment without direct filesystem access (such as Flatpak), GtkFileChooserNative may call the proper APIs (portals) to let the user choose a file and make it available to the application."

https://github.com/mikelolasagasti/revelation/blob/master/src/lib/dialog.py#L396-L590