forked from AuroraMiddleware/gtk
Don't hide dotfiles, no such convention on Win32. Just hide files with the
2005-11-12 Tor Lillqvist <tml@novell.com> * gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide dotfiles, no such convention on Win32. Just hide files with the hidden attribute. (#314627)
This commit is contained in:
parent
c100ebd2da
commit
de28325959
@ -1,3 +1,9 @@
|
||||
2005-11-12 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide
|
||||
dotfiles, no such convention on Win32. Just hide files with the
|
||||
hidden attribute. (#314627)
|
||||
|
||||
2005-11-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Do not
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-11-12 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide
|
||||
dotfiles, no such convention on Win32. Just hide files with the
|
||||
hidden attribute. (#314627)
|
||||
|
||||
2005-11-11 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Do not
|
||||
|
@ -1525,9 +1525,7 @@ filename_get_info (const gchar *filename,
|
||||
|
||||
if (types & GTK_FILE_INFO_IS_HIDDEN)
|
||||
{
|
||||
/* Unix dot convention or the Windows hidden attribute */
|
||||
gboolean is_hidden = basename[0] == '.' ||
|
||||
!!(wfad.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN);
|
||||
gboolean is_hidden = !!(wfad.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN);
|
||||
gtk_file_info_set_is_hidden (info, is_hidden);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user