summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserprivate.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2006-09-03 20:47:54 +0000
committerKristian Rietveld <kristian@src.gnome.org>2006-09-03 20:47:54 +0000
commit023cb79cd22ddd54b83aa485786e5fec570bd2b1 (patch)
treed83f3efed8379ead33efa2e239be0d256aba2dc7 /gtk/gtkfilechooserprivate.h
parentdd8915cf41074a56b82594920905877527ac8a77 (diff)
downloadgtk+-023cb79cd22ddd54b83aa485786e5fec570bd2b1.tar.gz
change file_exists_and_is_not_folder checks to get the file info for the
2006-09-03 Kristian Rietveld <kris@imendio.com> * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb), (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond): change file_exists_and_is_not_folder checks to get the file info for the path directly instead of querying the current file folder of the save entry. * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add new field. * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle), (test_reload_sequence), (test_button_folder_states_for_action): wait for idle after setting a folder to ensure the async operations to load the folder are finished, (test_confirm_overwrite), (test_confirm_overwrite_for_path): factor out test_confirm_overwrite code so we can add tests for more paths more easily.
Diffstat (limited to 'gtk/gtkfilechooserprivate.h')
-rw-r--r--gtk/gtkfilechooserprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h
index d198e96c27..eb18035c89 100644
--- a/gtk/gtkfilechooserprivate.h
+++ b/gtk/gtkfilechooserprivate.h
@@ -206,6 +206,7 @@ struct _GtkFileChooserDefault
GtkFileSystemHandle *update_current_folder_handle;
GtkFileSystemHandle *show_and_select_paths_handle;
GtkFileSystemHandle *should_respond_get_info_handle;
+ GtkFileSystemHandle *file_exists_get_info_handle;
GtkFileSystemHandle *update_from_entry_handle;
GtkFileSystemHandle *shortcuts_activate_iter_handle;
GSList *pending_handles;