Ignore:
Timestamp:
2015-04-18T12:33:06+02:00 (9 years ago)
Author:
simon04
Message:

fix #10868 - Add osm.notes.daysClosed to preference dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java

    r7509 r8218  
    1616import javax.swing.JPanel;
    1717import javax.swing.JRadioButton;
     18import javax.swing.JSeparator;
    1819
    1920import org.openstreetmap.josm.Main;
     
    4243    private OAuthAuthenticationPreferencesPanel pnlOAuthPreferences;
    4344    /** the panel for messages notifier preferences */
    44     private MessagesNotifierPanel pnlMessagesPreferences;
     45    private FeaturesPanel pnlFeaturesPreferences;
    4546
    4647    /**
     
    9495        pnlAuthenticationParameteters.add(pnlBasicAuthPreferences, BorderLayout.CENTER);
    9596
    96         //-- the panel for messages preferences
    9797        gc.gridy = 2;
     98        add(new JSeparator(), gc);
     99
     100        //-- the panel for API feature preferences
     101        gc.gridy = 3;
    98102        gc.fill = GridBagConstraints.NONE;
    99         pnlMessagesPreferences = new MessagesNotifierPanel();
    100         add(pnlMessagesPreferences, gc);
     103        pnlFeaturesPreferences = new FeaturesPanel();
     104        add(pnlFeaturesPreferences, gc);
    101105    }
    102106
     
    125129        pnlBasicAuthPreferences.initFromPreferences();
    126130        pnlOAuthPreferences.initFromPreferences();
    127         pnlMessagesPreferences.initFromPreferences();
     131        pnlFeaturesPreferences.initFromPreferences();
    128132    }
    129133
     
    152156        }
    153157        // save message notifications preferences. To be done after authentication preferences.
    154         pnlMessagesPreferences.saveToPreferences();
     158        pnlFeaturesPreferences.saveToPreferences();
    155159    }
    156160
Note: See TracChangeset for help on using the changeset viewer.