Re: nautilus & hidden files



On Sat, 2008-10-04 at 15:17 +0200, yelo_3 wrote:
> I've digger a little deeper and found glocalfileinfo.c
> there are a few getxattr calls in the function
> get_one_xattr_from_fd (int         fd,
> 		       GFileInfo  *info,
> 		       const char *gio_attr,
> 		       const char *xattr)
> 
> It's a bit long, so I didn't paste it, but these are the most important steps:
> g_fgetxattr (fd, xattr, value_p, len); /* macro for fgetxattr */
> escape_xattr (info, gio_attr, value_p, len); /* calls the function
> g_file_info_set_attribute */
> 
> Anyway I dont't know which is the corresponding xattr to
> G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN.
> 
> Sorry if I was still not enough helpful, maybe you should wait for
> Alexander reply!

Eh, gio doesn't currently look for any filesystem hidden attributes for
the reason that I don't know how to do this. Thats why I asked yelo to
investigate how to do this.

How is the hidden attribute exposed by the kernel for native FAT
filesystems. NTFS should probably do it the same way.



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