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 629870 - Patch to detect and obbey .hidden files.
Patch to detect and obbey .hidden files.
Status: RESOLVED DUPLICATE of bug 587806
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2010-09-16 18:34 UTC by Daniel Morais
Modified: 2010-10-15 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Hidden files patch (2.21 KB, patch)
2010-09-16 18:34 UTC, Daniel Morais
none Details | Review
Hidden Files Patch - Updated (3.17 KB, patch)
2010-10-11 18:57 UTC, Daniel Morais
none Details | Review

Description Daniel Morais 2010-09-16 18:34:25 UTC
Created attachment 170432 [details] [review]
Hidden files patch

Hello people,

I made a little patch to GTK to make .hidden files to be read and consequently hide the listed files inside it when "Show Hidden Files" is not marked. This modification affects more GtkFileChooser so I chose its component although I changed the gtk/gtkfilesystemmodel.c. Most of the code was taken from Nautilus, with minor changes to suit the gtk coding style. I'd be glad if you take this in consideration.

Regards,

Daniel Morais
Comment 1 Daniel Morais 2010-10-11 18:57:40 UTC
Created attachment 172125 [details] [review]
Hidden Files Patch - Updated

Update to the previous patch:

- .hidden files now is read aways when the TreeView files are changed.
- Better implementation
Comment 2 Matthias Clasen 2010-10-15 18:01:26 UTC

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