]> Pileus Git - ~andy/gtk/commit
change file_exists_and_is_not_folder checks to get the file info for the
authorKristian Rietveld <kris@imendio.com>
Sun, 3 Sep 2006 20:47:54 +0000 (20:47 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Sun, 3 Sep 2006 20:47:54 +0000 (20:47 +0000)
commit023cb79cd22ddd54b83aa485786e5fec570bd2b1
treed83f3efed8379ead33efa2e239be0d256aba2dc7
parentdd8915cf41074a56b82594920905877527ac8a77
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.
ChangeLog
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserprivate.h
tests/autotestfilechooser.c