From 613b441b5b3a2920463396e28c9ae95b34868ec1 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 9 Sep 2003 15:18:29 +0000 Subject: Free the display_key. 2003-09-08 Federico Mena Quintero * gtkfilesystem.c (gtk_file_info_free): Free the display_key. * gtkfilechooserimpldefault.c (list_mtime_data_func): New function. (create_file_list): Add a modification time column; remove the size column. (mtime_sort_func): New callback. (tree_selection_changed): Add a sorting function for the mtime column. Have the model fetch the modification time as well. (tree_selection_changed): Do allow the file list model to show directories. * testfilechooser.c (my_new_from_file_at_size): Do not try to read non-regular files. --- gtk/gtkfilesystemmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkfilesystemmodel.c') diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 9be171f7c6..75762cff5c 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -1516,7 +1516,7 @@ do_files_removed (GtkFileSystemModel *model, dummy->is_visible = TRUE; dummy->parent = parent_node; dummy->is_dummy = TRUE; - + parent_node->children = dummy; parent_node->has_dummy = TRUE; -- cgit v1.2.1