• Federico Mena Quintero's avatar
    Fix #137520. · 7f62edf3
    Federico Mena Quintero authored
    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.
    7f62edf3
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
README.cvs-commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...
sanity_check Loading commit data...