diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-22 16:34:08 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-22 16:34:08 +0200 |
| commit | abfc8ee52f5e7b7e9022dd0bb6fd370a0e9c32af (patch) | |
| tree | 95d6a53874a68c0cc13bda5128561d40314b78a9 /src/CMakeLists.txt | |
| parent | ee37965fad79a815feea3f8a4a6cfec03d4a9029 (diff) | |
Fix: Fl_Native_File_Chooser::filter_value() [Kdialog] always returns 0 (#899)
- remove build option FLTK_USE_KDIALOG replaced by an Fl::option() option
- new run-time option OPTION_FNFC_USES_KDIALOG
- make options OPTION_FNFC_USES_KDIALOG and OPTION_FNFC_USES_ZENITY
false by default
- add mention of new program fltk-options in the doc of Fl::option()
- change logic of choice of the native file chooser under X11/Wayland:
the zenity and kdialog choosers are opt-in; otherwise the GTK file chooser
is used, unless opted out with OPTION_FNFC_USES_GTK
- document that zenity may be interesting for sandboxed apps
- document that both zenity and kdialog make member functions
Fl_Native_File_Chooser::filter_value() inoperable
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 74f401182..acb00ec3b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -237,11 +237,9 @@ if(FLTK_USE_X11 AND NOT FLTK_BACKEND_WAYLAND) Fl_get_key.cxx ) - if(FLTK_USE_KDIALOG) list(APPEND DRIVER_FILES Fl_Native_File_Chooser_Kdialog.cxx Fl_Native_File_Chooser_Zenity.cxx) - endif(FLTK_USE_KDIALOG) if(FLTK_USE_CAIRO) list(APPEND DRIVER_FILES @@ -312,11 +310,9 @@ elseif(FLTK_BACKEND_WAYLAND) Fl_Native_File_Chooser_GTK.cxx ) - if(FLTK_USE_KDIALOG) list(APPEND DRIVER_FILES Fl_Native_File_Chooser_Kdialog.cxx Fl_Native_File_Chooser_Zenity.cxx) - endif(FLTK_USE_KDIALOG) if(FLTK_USE_X11) list(APPEND DRIVER_FILES |
