diff options
| author | Trent McPheron <twilightinzero@gmail.com> | 2022-04-03 20:04:00 -0400 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-16 16:21:23 +0100 |
| commit | 576271fb04e1c2f9ba1f95c0399fef2f73af3b06 (patch) | |
| tree | 3740f4878b837a1254cd3f7becc97321c1d0f31c /configh.in | |
| parent | 2ddb27f0f293eb0e57e32194e4f48c72614500ab (diff) | |
Add Zenity-based file chooser based on the KDialog one (HugLifeTiZ)
If available, it is used on Linux regardless of the current desktop because
it offers free XDG portal integration, which means it picks the correct file
chooser on all desktops, and allows for meaningful file selection in sandbox
environments like Flatpak.
Diffstat (limited to 'configh.in')
| -rw-r--r-- | configh.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configh.in b/configh.in index e45061b31..b9000f567 100644 --- a/configh.in +++ b/configh.in @@ -343,7 +343,14 @@ #undef FL_CFG_NO_FILESYSTEM_SUPPORT /* - * Do we want class Fl_Native_File_Chooser to run kdialog when desktop is KDE? + * Do we want class Fl_Native_File_Chooser to run zenity if available? + */ + +#define USE_ZENITY 1 + +/* + * Do we want class Fl_Native_File_Chooser to run kdialog when zenity is + * unavailable and desktop is KDE? */ #define USE_KDIALOG 1 |
