Changeset 10734 in josm for trunk/src/org
- Timestamp:
- 2016-08-05T19:20:04+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r10696 r10734 108 108 } 109 109 } 110 // Add Gnome Atk wrapper details if found 111 String atkWrapperDetails = ((PlatformHookUnixoid) Main.platform).getAtkWrapperPackageDetails(); 112 if (atkWrapperDetails != null) { 113 text.append("Java ATK Wrapper package: ") 114 .append(atkWrapperDetails) 115 .append('\n'); 116 } 110 117 } 111 118 try { -
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r10627 r10734 278 278 if (isOpenJDK()) { 279 279 return getPackageDetails("icedtea-netx", "icedtea-web"); 280 } 281 return null; 282 } 283 284 /** 285 * Get the Gnome ATK wrapper package name including detailed version. 286 * 287 * Debian and Ubuntu derivatives come with a pre-enabled accessibility software 288 * completely buggy that makes Swing crash in a lot of different ways. 289 * 290 * Simply return {@code null} if it's not found. 291 * 292 * @return The package name and package version if it can be identified, null otherwise 293 */ 294 public String getAtkWrapperPackageDetails() { 295 if (isOpenJDK() && isDebianOrUbuntu()) { 296 return getPackageDetails("libatk-wrapper-java"); 280 297 } 281 298 return null;
Note:
See TracChangeset
for help on using the changeset viewer.