FLTK logo

[master] 16dff07 - Fix "Native file chooser on Linux fails with BROWSE_MULTI_FILE" (#669)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 16dff07 - Fix "Native file chooser on Linux fails with BROWSE_MULTI_FILE" (#669) "ManoloFLTK" Feb 02, 2023  
 
commit 16dff07994268bf3ab9de29afb410e205b41728c
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Thu Feb 2 15:20:55 2023 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Thu Feb 2 15:20:55 2023 +0100

     Fix "Native file chooser on Linux fails with BROWSE_MULTI_FILE" (#669)

 src/Fl_Native_File_Chooser_Zenity.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/Fl_Native_File_Chooser_Zenity.cxx src/Fl_Native_File_Chooser_Zenity.cxx
index 0f79301..3626d35 100644
--- src/Fl_Native_File_Chooser_Zenity.cxx
+++ src/Fl_Native_File_Chooser_Zenity.cxx
@@ -48,7 +48,7 @@ char *Fl_Zenity_Native_File_Chooser_Driver::build_command() {
       break;
 
     case Fl_Native_File_Chooser::BROWSE_MULTI_FILE:
-      option = "--file-selection --multiple";
+      option = "--file-selection --multiple --separator='\n'";
       break;
 
     default:
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.