Bug#778947: Program calls home to check for updates
Vagrant Cascadian
vagrant at debian.org
Sun Feb 22 04:54:35 UTC 2015
Package: sweethome3d
Followup-For: Bug #778947
Control: tags -1 +patch
Looking at src/com/eteks/sweethome3d/viewcontroller/HomeController.java:
/**
* Checks if some application or libraries updates are available.
* @since 4.0
*/
public void checkUpdates(final boolean displayOnlyIfNewUpdates) {
String updatesUrl = getPropertyValue("com.eteks.sweethome3d.updatesUrl", "updatesUrl");
if (updatesUrl != null && updatesUrl.length() > 0) {
final URL url;
try {
url = new URL(updatesUrl);
} catch (MalformedURLException ex) {
ex.printStackTrace();
return;
}
It seems that setting updatesUrl to an empty value might resolve the
issue. I haven't tested it, but the following patch might work:
Index: sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
===================================================================
--- sweethome3d.orig/src/com/eteks/sweethome3d/viewcontroller/package.properties
+++ sweethome3d/src/com/eteks/sweethome3d/viewcontroller/package.properties
@@ -122,7 +122,7 @@ HomeController.updatesMessageStyleSheet=
.update { text-align: center; font-weight: normal; margin-bottom: 0;} \
.releaseDateAndSize { font-size: 95%; text-align: center; margin-top: 0; margin-bottom: 0;} \
.downloadPage { text-align: center; margin-top: 2px; margin-bottom: 0;}
-HomeController.updatesUrl=http://www.sweethome3d.com/SweetHome3DUpdates.xml
+HomeController.updatesUrl=
# Resources for Home3DAttributesController class
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150221/d0df0624/attachment.sig>
More information about the pkg-java-maintainers
mailing list