The following commit has been merged in the master branch: commit b5843ab83c5bc3ec7dc97451000e060999872734 Author: David Paleino <da...@debian.org> Date: Wed Mar 17 15:57:53 2010 +0100
70-default_look_and_feel.patch added, ported from Ubuntu's 01-default-look-and-feel.dpatch. Let's avoid discrepancies when possible and reasonable. diff --git a/debian/changelog b/debian/changelog index 61d9363..db3d4da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,9 +8,12 @@ josm (0.0.svn3094-1) UNRELEASED; urgency=low and fix references to gettext-ant-tasks - 60-disable_oauth.patch added, it's still missing lots of dependencies + - 70-default_look_and_feel.patch added, ported from Ubuntu's + 01-default-look-and-feel.dpatch. Let's avoid discrepancies + when possible and reasonable. * debian/rules, debian/control: use quilt for patch management. - -- David Paleino <da...@debian.org> Fri, 12 Mar 2010 23:33:32 +0100 + -- David Paleino <da...@debian.org> Wed, 17 Mar 2010 15:56:58 +0100 josm (0.0.svn2561-2) unstable; urgency=low diff --git a/debian/patches/70-default_look_and_feel.patch b/debian/patches/70-default_look_and_feel.patch new file mode 100644 index 0000000..d24d3d8 --- /dev/null +++ b/debian/patches/70-default_look_and_feel.patch @@ -0,0 +1,21 @@ +From: David Paleino <da...@debian.org> +Subject: use GTK look and feel by default + patch rewritten for new code, original patch was from Ubuntu's + 01-default-look-and-feel.dpatch by Mathieu Trudel + <mathieu...@gmail.com> +Forwarded: no + +--- + src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- josm.orig/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java ++++ josm/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java +@@ -75,6 +75,6 @@ public class PlatformHookUnixoid impleme + } + + public String getDefaultStyle() { +- return "javax.swing.plaf.metal.MetalLookAndFeel"; ++ return "javax.swing.plaf.gtk.GTKLookAndFeel"; + } + } diff --git a/debian/patches/series b/debian/patches/series index 0406ae5..0baaad1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 40-elemstyles.patch 50-preferences_world_readable.patch 60-disable_oauth.patch +70-default_look_and_feel.patch -- Java OpenStreetMap editor _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel