#216099: ?Classic? button broken except in DIRECTORIES_ONLY mode. release72
authorJesse Glick <jglick@netbeans.org>
Tue, 02 Oct 2012 21:55:21 -0400
branchrelease72
changeset 178836727f030f99e
parent 17874 57f155516941
child 17887 305bc5d5bf98
#216099: ?Classic? button broken except in DIRECTORIES_ONLY mode.
quickfilechooser/manifest.mf
quickfilechooser/src/org/netbeans/modules/quickfilechooser/Module.java
     1.1 --- a/quickfilechooser/manifest.mf	Wed Sep 12 10:06:17 2012 +0200
     1.2 +++ b/quickfilechooser/manifest.mf	Tue Oct 02 21:55:21 2012 -0400
     1.3 @@ -1,7 +1,7 @@
     1.4  Manifest-Version: 1.0
     1.5  OpenIDE-Module: org.netbeans.modules.quickfilechooser
     1.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/quickfilechooser/Bundle.properties
     1.7 -OpenIDE-Module-Specification-Version: 1.17
     1.8 +OpenIDE-Module-Specification-Version: 1.18
     1.9  OpenIDE-Module-Install: org/netbeans/modules/quickfilechooser/Module.class
    1.10  Main-Class: org.netbeans.modules.quickfilechooser.Install
    1.11  
     2.1 --- a/quickfilechooser/src/org/netbeans/modules/quickfilechooser/Module.java	Wed Sep 12 10:06:17 2012 +0200
     2.2 +++ b/quickfilechooser/src/org/netbeans/modules/quickfilechooser/Module.java	Tue Oct 02 21:55:21 2012 -0400
     2.3 @@ -49,8 +49,11 @@
     2.4   */
     2.5  public class Module extends ModuleInstall {
     2.6  
     2.7 +    /** @see org.netbeans.swing.dirchooser.Module#FORCE_STANDARD_CHOOSER */
     2.8 +    private static final String FORCE_STANDARD_CHOOSER = "standard-file-chooser";
     2.9 +
    2.10      public void restored() {
    2.11 -        super.restored();
    2.12 +        System.setProperty(FORCE_STANDARD_CHOOSER, "true");
    2.13          Install.install();
    2.14      }
    2.15