Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-18 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file gtk-browser2.patch... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-featureIndex: src/Fl_Native_File_Chooser_GTK.cxx

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-18 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Uploaded gtk-browser2.patch with a somewhat cleaner implementation that separates the FLTK and GTK browsers in two classes and two source files.

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn'texactly native on linux

2013-02-18 Thread Sanel Zukan
AFAIK kdialog is often distributed with KDE, which isn't the case for zenity/Gnome. In any case: We still need to address the issue of guessing what desktop the user is running and then choosing either zenity or kdialog accordingly... There is a env variable XDG_CURRENT_DESKTOP and should

Re: [fltk.development] [RFE] STR #2904: Native file chooserisn'texactly native on linux

2013-02-18 Thread Greg Ercolano
On 02/17/13 17:25, Michael Sweet wrote: There is also the issue of how to safely execute programs from the library; it is incredibly difficult to safely deal with file descriptors and signals/handlers from a library without some coordination with the application... I guess we have