After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549515 - GtkFileChooser doesn't allow to choose Files and/or Folders
GtkFileChooser doesn't allow to choose Files and/or Folders
Status: RESOLVED DUPLICATE of bug 136294
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.12.x
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-08-26 21:58 UTC by tito
Modified: 2008-09-11 04:43 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description tito 2008-08-26 21:58:39 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
Comment 1 Matthias Clasen 2008-09-11 04:43:41 UTC

*** This bug has been marked as a duplicate of 136294 ***