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.cmake.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.cmake.in')
| -rw-r--r-- | configh.cmake.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configh.cmake.in b/configh.cmake.in index dde9ee40a..df211630e 100644 --- a/configh.cmake.in +++ b/configh.cmake.in @@ -343,7 +343,14 @@ #cmakedefine FL_CFG_NO_FILESYSTEM_SUPPORT 1 /* - * 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 when available? + */ + +#cmakedefine01 USE_ZENITY + +/* + * Do we want class Fl_Native_File_Chooser to run kdialog when zenity is + * unavailable and desktop is KDE? */ #cmakedefine01 USE_KDIALOG |
