From 4ac1632f10d9b8bea9825d409018540856d0c87c Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 28 Nov 2005 22:25:03 +0000 Subject: Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com): 2005-11-28 Federico Mena Quintero Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com): * gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the current_folder to the pending select paths here; the path bar will give it to us now. (path_bar_clicked): Add the child_path to the pending select paths here. (show_and_select_paths): Don't filter out folders. (show_and_select_paths): Don't take separate arguments for only_one_path and multiple paths. * tests/autotestfilechooser.c (test_folder_switch_and_filters): New test about preserving the filters when we change folders. --- tests/file-chooser-test-dir/empty | 0 tests/file-chooser-test-dir/text.txt | 1 + 2 files changed, 1 insertion(+) create mode 100644 tests/file-chooser-test-dir/empty create mode 100644 tests/file-chooser-test-dir/text.txt (limited to 'tests/file-chooser-test-dir') diff --git a/tests/file-chooser-test-dir/empty b/tests/file-chooser-test-dir/empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/file-chooser-test-dir/text.txt b/tests/file-chooser-test-dir/text.txt new file mode 100644 index 0000000000..cd0875583a --- /dev/null +++ b/tests/file-chooser-test-dir/text.txt @@ -0,0 +1 @@ +Hello world! -- cgit v1.2.1