From abfc8ee52f5e7b7e9022dd0bb6fd370a0e9c32af Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:34:08 +0200 Subject: 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 --- CMake/options.cmake | 9 --------- 1 file changed, 9 deletions(-) (limited to 'CMake') diff --git a/CMake/options.cmake b/CMake/options.cmake index 41ff93edd..6d5c8127a 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -1000,15 +1000,6 @@ if(FLTK_OPTION_FILESYSTEM_SUPPORT) endif(FLTK_OPTION_FILESYSTEM_SUPPORT) ####################################################################### -####################################################################### -option(FLTK_USE_KDIALOG "Fl_Native_File_Chooser may run kdialog" ON) -if(FLTK_USE_KDIALOG) - set(USE_KDIALOG 1) -else() - set(USE_KDIALOG 0) -endif() -####################################################################### - ####################################################################### option(CMAKE_SUPPRESS_REGENERATION "suppress rules to re-run CMake on rebuild" OFF) mark_as_advanced(CMAKE_SUPPRESS_REGENERATION) -- cgit v1.2.3