The following commit has been merged in the master branch:
commit a18b2f2608cd04150fb99e5918302d1b5761d5ff
Author: Mònica Ramírez Arceda <mon...@debian.org>
Date:   Sun Sep 1 17:30:53 2013 +0200

    Update 01-bts.patch changing 'Report bug' behaviour in 'Status Report' 
window: open Debian BTS URL instead of JOSM BTS URL

diff --git a/debian/changelog b/debian/changelog
index eb73d88..2b3c839 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ josm (0.0.svn6115+dfsg1-1) UNRELEASED; urgency=low
     - Fix i18n/convplugins.pl file name.
     - Fix license keyword for public domain files and add description.
   * debian/josm.desktop: Add Keywords key.
+  * 01-bts.patch: Open Debian BTS URL when clicking "Report bug" button in
+    "Status Report" window.
 
  -- Mònica Ramírez Arceda <mon...@debian.org>  Sun, 01 Sep 2013 10:32:29 +0200
 
diff --git a/debian/patches/01-bts.patch b/debian/patches/01-bts.patch
index d047e7d..b0f06a4 100644
--- a/debian/patches/01-bts.patch
+++ b/debian/patches/01-bts.patch
@@ -111,3 +111,15 @@ bug triaging.
                              if (Utils.copyToClipboard(text)) {
                                  p.add(new JLabel(tr("(The text has already 
been copied to your clipboard.)")), GBC.eop());
                              }
+--- a/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
++++ b/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
+@@ -183,8 +183,7 @@
+ 
+         switch (ed.showDialog().getValue()) {
+             case 1: Utils.copyToClipboard(text.toString()); break;
+-            case 2: 
OpenBrowser.displayUrl(BugReportExceptionHandler.getBugReportUrl(
+-                        Utils.strip(reportHeader)).toExternalForm()) ; break;
++            case 2: OpenBrowser.displayUrl("http://bugs.debian.org";) ; break;
+         }
+     }
+ }

-- 
Editor for OpenStreetMap

_______________________________________________
Pkg-osm-commits mailing list
Pkg-osm-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits

Reply via email to