GNOME Bugzilla – Bug 549515
GtkFileChooser doesn't allow to choose Files and/or Folders
Last modified: 2008-09-11 04:43:41 UTC
I would like one more GtkFileChooserAction GTK_FILE_CHOOSER_ACTION_OPEN_FILE_FOLDER to allow the file chooser to return the path of a file or a folder. This is needed for apps that can process a single file or a folder (containing files and/or other folders). At the moment the workarounds I've found are: 1) ask the user (with a checkbox or dialog) before popping up the file chooser dialog to set the right GtkFileChooserAction; 2) add two buttons to the GUI one for files and one for folders. Both workarounds are ugly...and most file chooser widgets i've tried (win32, kde) seem to be able to handle this correctly. Best regards, Tito
*** This bug has been marked as a duplicate of 136294 ***