Re: Adding .hidden support to the GTK File Chooser



hi,

On 12-11-26 04:05 AM, Timothy Arceri wrote:
I'm looking into adding support for .hidden to the GTK File Chooser see: https://bugzilla.gnome.org/show_bug.cgi?id=596234 however I'm not 100% sure where I should be making this change. I'm thinking the change should be made to Glib in gfileinfo.c g_file_info_set_is_hidden() that way the code can be shared with Nautilus (the same existing code could then be removed from Nautilus) and any other application that wishes to use it. Does this sound like the right place to be making the change?

The bug you link is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=587806 which already has a very old (2009) patch.

The patch was rejected due to its dependency on the existence of a mainloop to clear the cache. GLib now has a "helper main context" inside of libglib that could be used instead.

If you wanted to solve this problem, the patch on that bug would definitely be a good place to start.

Cheers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]