summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2008-03-01 02:32:09 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2008-03-01 02:32:09 +0000
commit9b440c1656116d315d43378e9ccb34dd5d760fd1 (patch)
tree7902035390895f133e095c4445824029467ae586 /gtk
parent4ceeea85399348d85f8ae600b9d7a09c184f52bf (diff)
downloadgtk+-9b440c1656116d315d43378e9ccb34dd5d760fd1.tar.gz
When refreshing an existing unix folder, turn off its is_finished_loading state
2008-02-29 Federico Mena Quintero <federico@novell.com> * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When refreshing an existing folder (i.e. when we are about to reload its file list), turn off the folder's is_finished_loading flag. Otherwise callers which do ::is_finished_loading() followed by ::list_children() will get nothing. Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19677
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkfilesystemunix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemunix.c b/gtk/gtkfilesystemunix.c
index b426afe764..ad225afde7 100644
--- a/gtk/gtkfilesystemunix.c
+++ b/gtk/gtkfilesystemunix.c
@@ -914,6 +914,7 @@ gtk_file_system_unix_get_folder (GtkFileSystem *file_system,
folder_unix->have_mime_type = FALSE;
folder_unix->have_stat = FALSE;
folder_unix->have_hidden = FALSE;
+ folder_unix->is_finished_loading = FALSE;
set_asof = TRUE;
}