summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-8
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-29 19:52:16 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-29 19:52:16 +0000
commit7f62edf3792a33473865fd7479fb44213909c594 (patch)
tree19e1c4a1d9009e2ac8763445652e69a312f681c2 /ChangeLog.pre-2-8
parentc632184085084fbaca69e87b987a735090876d71 (diff)
downloadgtk+-7f62edf3792a33473865fd7479fb44213909c594.tar.gz
Fix #137520.
2004-03-29 Federico Mena Quintero <federico@ximian.com> Fix #137520. * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots for an ::is_finished_loading() method and a ::finished_loading() signal at the end of the struct. * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the "finished-loading" signal. (gtk_file_folder_is_finished_loading): New function. * gtk/gtkfilesystemunix.c (gtk_file_folder_unix_is_finished_loading): Implement. * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New slot for a "finished-loading" signal. (gtk_file_system_model_class_init): Create the "finished-loading" signal. (struct _GtkFileSystemModel): New field idle_finished_loading_source. We emit the "finished-loading" signal in an idle if the root folder was done loading right in _gtk_file_system_model_new(), so that the caller has a chance to connect to the signal. (_gtk_file_system_model_new): Connect to the normal signals of the folder even if the initial _list_children() fails. Also, see if the folder is finished loading; connect to the "finished-loading" signal otherwise. (gtk_file_system_model_finalize): Remove the idle handler. * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor and connect to the model's "finished-loading" signal. (get_toplevel): New helper function. (error_message): Use get_toplevel(). (trap_activate_cb): Likewise. (location_popup_handler): Likewise. (set_busy_cursor): New function. (browse_files_model_finished_loading_cb): New callback.
Diffstat (limited to 'ChangeLog.pre-2-8')
-rw-r--r--ChangeLog.pre-2-839
1 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index b284d0598a..a80ea0f3cd 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,42 @@
+2004-03-29 Federico Mena Quintero <federico@ximian.com>
+
+ Fix #137520.
+
+ * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
+ for an ::is_finished_loading() method and a ::finished_loading()
+ signal at the end of the struct.
+
+ * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
+ "finished-loading" signal.
+ (gtk_file_folder_is_finished_loading): New function.
+
+ * gtk/gtkfilesystemunix.c
+ (gtk_file_folder_unix_is_finished_loading): Implement.
+
+ * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
+ slot for a "finished-loading" signal.
+ (gtk_file_system_model_class_init): Create the "finished-loading"
+ signal.
+ (struct _GtkFileSystemModel): New field
+ idle_finished_loading_source. We emit the "finished-loading"
+ signal in an idle if the root folder was done loading right in
+ _gtk_file_system_model_new(), so that the caller has a chance to
+ connect to the signal.
+ (_gtk_file_system_model_new): Connect to the normal signals of the
+ folder even if the initial _list_children() fails. Also, see if
+ the folder is finished loading; connect to the "finished-loading"
+ signal otherwise.
+ (gtk_file_system_model_finalize): Remove the idle handler.
+
+ * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
+ and connect to the model's "finished-loading" signal.
+ (get_toplevel): New helper function.
+ (error_message): Use get_toplevel().
+ (trap_activate_cb): Likewise.
+ (location_popup_handler): Likewise.
+ (set_busy_cursor): New function.
+ (browse_files_model_finished_loading_cb): New callback.
+
2004-03-25 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (check_preview_change): Just use the