Ignore:
Timestamp:
2016-08-05T19:20:04+02:00 (3 years ago)
Author:
Don-vip
Message:

see #12022 - Add Gnome Atk wrapper package details to status report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r10627 r10734  
    278278        if (isOpenJDK()) {
    279279            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");
    280297        }
    281298        return null;
Note: See TracChangeset for help on using the changeset viewer.