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
This commit is contained in:
committed by
Federico Mena Quintero
parent
4ceeea8539
commit
9b440c1656
@@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
||||
2008-02-29 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user