Ignore:
Timestamp:
2006-11-28T19:58:41+01:00 (18 years ago)
Author:
imi
Message:
  • added "new empty map" action
  • added osm-server.version property (set the OSM server verion. For expert users only)
  • added first support for ongoing 0.4 server api
  • fixed Class-Path manifest attribute for plugins (" " is Seperator)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/PreferencesAction.java

    r168 r169  
    3636                JPanel prefPanel = new JPanel(new GridBagLayout());
    3737                prefPanel.add(prefDlg, GBC.eol().fill(GBC.BOTH));
    38                
     38
    3939                JOptionPane pane = new JOptionPane(prefPanel, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
    4040                JDialog dlg = pane.createDialog(Main.parent, tr("Preferences"));
     41               
     42                if (dlg.getWidth() > 600)
     43                        dlg.setSize(600, dlg.getHeight());
     44                if (dlg.getHeight() > 450)
     45                        dlg.setSize(dlg.getWidth(), 450);
     46
    4147                dlg.setVisible(true);
    4248                if (pane.getValue() instanceof Integer && (Integer)pane.getValue() == JOptionPane.OK_OPTION)
Note: See TracChangeset for help on using the changeset viewer.