diff options
author | Federico Mena Quintero <federico@ximian.com> | 2003-09-09 15:18:29 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2003-09-09 15:18:29 +0000 |
commit | 613b441b5b3a2920463396e28c9ae95b34868ec1 (patch) | |
tree | f8fe413ace9283c9e3e2fc02b460417577d244f6 /gtk/gtkfilesystemmodel.c | |
parent | 0d7de37eb07c6b1c531dddb54063ac95d4db5874 (diff) | |
download | gtk+-613b441b5b3a2920463396e28c9ae95b34868ec1.tar.gz |
Free the display_key.
2003-09-08 Federico Mena Quintero <federico@ximian.com>
* 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.
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r-- | gtk/gtkfilesystemmodel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |