]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/gui/MenuManager.java
Version 18.4, April 2016
[GpsPrune.git] / tim / prune / gui / MenuManager.java
index f664f4bc4b9470c5ea6b3cdbe22daa87ede5ff1e..38ed02b04d158abd545a21fc005e0307ba3ef229 100644 (file)
@@ -97,7 +97,6 @@ public class MenuManager implements DataSubscriber
        private JMenuItem _showPeakfinderItem = null;
        private JMenuItem _showGeohackItem = null;
        private JMenuItem _showPanoramioItem = null;
-       private JMenuItem _showOpencachingComItem = null;
        private JMenuItem _searchOpencachingDeItem = null;
        private JMenuItem _searchMapillaryItem = null;
        private JMenuItem _downloadOsmItem = null;
@@ -296,8 +295,6 @@ public class MenuManager implements DataSubscriber
                onlineMenu.add(_showGeohackItem);
                _showPanoramioItem = makeMenuItem(new WebMapFunction(_app, UrlGenerator.WebService.MAP_SOURCE_PANORAMIO, "webservice.panoramio"), false);
                onlineMenu.add(_showPanoramioItem);
-               _showOpencachingComItem = makeMenuItem(new WebMapFunction(_app, UrlGenerator.WebService.MAP_SOURCE_OPENCACHINGCOM, "webservice.opencachingcom"), false);
-               onlineMenu.add(_showOpencachingComItem);
 
                onlineMenu.addSeparator();
                _searchOpencachingDeItem = makeMenuItem(new SearchOpenCachingDeFunction(_app), false);
@@ -917,7 +914,6 @@ public class MenuManager implements DataSubscriber
                _showPeakfinderItem.setEnabled(hasPoint);
                _showGeohackItem.setEnabled(hasPoint);
                _showPanoramioItem.setEnabled(hasPoint);
-               _showOpencachingComItem.setEnabled(hasPoint);
                _searchOpencachingDeItem.setEnabled(hasPoint);
                _searchMapillaryItem.setEnabled(hasPoint);
                // is it a waypoint?