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 --- FL/Fl_Printer.H | 3 --- 1 file changed, 3 deletions(-) (limited to 'FL/Fl_Printer.H') diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index 7da0f1da5..3efa5f74c 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -74,9 +74,6 @@ See class Fl_PostScript_File_Device for a description of how text and transparent images appear in print.
  • If the GTK library is available at run-time, class Fl_Printer runs GTK's printer dialog which allows to set printer, paper size and orientation. -
  • Under the KDE desktop, Fl_Printer runs the kdialog command to create KDE-styled file dialogs if - that command is available at run-time, unless FLTK was built with CMake and option FLTK_USE_KDIALOG turned off. - In that case, Fl_Printer attempts to run the GTK dialog.
  • If the GTK library is not available, or if Fl::option(Fl::OPTION_PRINTER_USES_GTK) has been turned off, class Fl_Printer runs FLTK's print dialog.