gtk+ r19677 - in trunk: . gtk
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19677 - in trunk: . gtk
- Date: Sat, 1 Mar 2008 02:32:10 +0000 (GMT)
Author: federico
Date: Sat Mar 1 02:32:09 2008
New Revision: 19677
URL: http://svn.gnome.org/viewvc/gtk+?rev=19677&view=rev
Log:
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>
Modified:
trunk/ChangeLog
trunk/gtk/gtkfilesystemunix.c
Modified: trunk/gtk/gtkfilesystemunix.c
==============================================================================
--- trunk/gtk/gtkfilesystemunix.c (original)
+++ trunk/gtk/gtkfilesystemunix.c Sat Mar 1 02:32:09 2008
@@ -914,6 +914,7 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]