mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
Add an easy-to-find profiling marker when starting to create a file
2005-09-14 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add an easy-to-find profiling marker when starting to create a file chooser. (browse_files_model_finished_loading_cb): Likewise, for when the chooser is finished loading.
This commit is contained in:
parent
add83ac92e
commit
14bcc53ec5
@ -1,3 +1,11 @@
|
||||
2005-09-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
|
||||
an easy-to-find profiling marker when starting to create a file
|
||||
chooser.
|
||||
(browse_files_model_finished_loading_cb): Likewise, for when the
|
||||
chooser is finished loading.
|
||||
|
||||
2005-09-14 Tristan Van Berkom <tvb@cvs.gnome.org>
|
||||
|
||||
* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-09-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
|
||||
an easy-to-find profiling marker when starting to create a file
|
||||
chooser.
|
||||
(browse_files_model_finished_loading_cb): Likewise, for when the
|
||||
chooser is finished loading.
|
||||
|
||||
2005-09-14 Tristan Van Berkom <tvb@cvs.gnome.org>
|
||||
|
||||
* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
|
||||
|
@ -738,6 +738,10 @@ gtk_file_chooser_default_init (GtkFileChooserDefault *impl)
|
||||
{
|
||||
profile_start ("start", NULL);
|
||||
|
||||
#ifdef PROFILE_FILE_CHOOSER
|
||||
access ("MARK: *** CREATE FILE CHOOSER", F_OK);
|
||||
#endif
|
||||
|
||||
impl->local_only = TRUE;
|
||||
impl->preview_widget_active = TRUE;
|
||||
impl->use_preview_label = TRUE;
|
||||
@ -5198,6 +5202,10 @@ browse_files_model_finished_loading_cb (GtkFileSystemModel *model,
|
||||
pending_select_paths_process (impl);
|
||||
set_busy_cursor (impl, FALSE);
|
||||
|
||||
#ifdef PROFILE_FILE_CHOOSER
|
||||
access ("MARK: *** FINISHED LOADING", F_OK);
|
||||
#endif
|
||||
|
||||
profile_end ("end", NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user