From e583d2ad48f63a05968115f6630c426dc24c667d Mon Sep 17 00:00:00 2001 From: Meikel Brandmeyer Date: Tue, 3 Jul 2012 22:37:18 +0200 Subject: [PATCH] Add :all-files? option to file-chooser --- src/seesaw/chooser.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/seesaw/chooser.clj b/src/seesaw/chooser.clj index 0ae64c1f..8baa2d72 100644 --- a/src/seesaw/chooser.clj +++ b/src/seesaw/chooser.clj @@ -75,7 +75,8 @@ (java.io.File. (str dir)))))) (bean-option [:multi? :multi-selection-enabled] JFileChooser boolean) (bean-option [:selection-mode :file-selection-mode] JFileChooser file-selection-modes) - (default-option :filters set-file-filters))) + (default-option :filters set-file-filters) + (bean-option [:all-files? :accept-all-file-filter-used] JFileChooser boolean))) (option-provider JFileChooser file-chooser-options)