mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Treat backup files the same way as hidden files, to be closer to what
2005-06-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystemunix.c (create_file_info): Treat backup files the same way as hidden files, to be closer to what Nautilus does. (#136196, Sean Middleditch)
This commit is contained in:
parent
fb023e8c09
commit
9d274e0e56
@ -1,3 +1,9 @@
|
||||
2005-06-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (create_file_info): Treat backup
|
||||
files the same way as hidden files, to be closer to what
|
||||
Nautilus does. (#136196, Sean Middleditch)
|
||||
|
||||
2005-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (create_file_info): Treat backup
|
||||
files the same way as hidden files, to be closer to what
|
||||
Nautilus does. (#136196, Sean Middleditch)
|
||||
|
||||
2005-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (create_file_info): Treat backup
|
||||
files the same way as hidden files, to be closer to what
|
||||
Nautilus does. (#136196, Sean Middleditch)
|
||||
|
||||
2005-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
|
||||
|
@ -1936,7 +1936,10 @@ create_file_info (const char *filename,
|
||||
}
|
||||
|
||||
if (types & GTK_FILE_INFO_IS_HIDDEN)
|
||||
gtk_file_info_set_is_hidden (info, basename[0] == '.');
|
||||
{
|
||||
if (basename[0] == '.' || basename[strlen (basename) - 1] == '~')
|
||||
gtk_file_info_set_is_hidden (info, TRUE);
|
||||
}
|
||||
|
||||
if (types & GTK_FILE_INFO_IS_FOLDER)
|
||||
gtk_file_info_set_is_folder (info, S_ISDIR (statbuf->st_mode));
|
||||
|
Loading…
Reference in New Issue
Block a user