Changeset 177 in josm for src/org/openstreetmap
- Timestamp:
- 2006-12-22T19:51:11+01:00 (18 years ago)
- Location:
- src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/annotation/AnnotationCellRenderer.java
r129 r177 16 16 @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { 17 17 AnnotationPreset a = (AnnotationPreset)value; 18 if (a.name == null) 18 if (a == null || a.name == null) 19 19 return super.getListCellRendererComponent(list, "", index, false, false); 20 20 JComponent c = (JComponent)super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); -
src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
r175 r177 20 20 import org.openstreetmap.josm.plugins.PluginProxy; 21 21 import org.openstreetmap.josm.tools.GBC; 22 import org.openstreetmap.josm.tools.I18n; 22 23 import org.openstreetmap.josm.tools.ImageProvider; 23 24 … … 36 37 // some common tabs 37 38 public final JPanel display = createPreferenceTab("display", tr("Display Settings"), tr("Various settings that influence the visual representation of the whole program.")); 38 public final JPanel connection = createPreferenceTab("connection", tr("Connection Settings"), tr("Connection Settings to the OSM server.")); 39 public final JPanel map = createPreferenceTab("map", tr("Map Settings"), tr("Settings for the map projection and data interpretation.")); 39 public final JPanel connection = createPreferenceTab("connection", I18n.tr("Connection Settings"), I18n.tr("Connection Settings to the OSM server.")); 40 public final JPanel map = createPreferenceTab("map", I18n.tr("Map Settings"), I18n.tr("Settings for the map projection and data interpretation.")); 40 41 41 42 /**
Note:
See TracChangeset
for help on using the changeset viewer.