Package: azureus

Turns out that azureus is annoyware, wasn't expecting that. If you
select "Help -> Make a donation" then the window it throws up cannot
be closed until it's done playing a silly animation. Here's a patch to
turn that pesky behaviour off so that you can close it immediately.

Also it opens this window at intervals on its own. Attaching another
patch to disable that too. There's no way I could deploy something
like that to users.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
--- azureus-2.3.0.6/org/gudy/azureus2/ui/swt/donations/DonationWindow2.java~    
2005-11-21 20:42:34.000000000 +0000
+++ azureus-2.3.0.6/org/gudy/azureus2/ui/swt/donations/DonationWindow2.java     
2006-01-07 10:50:49.000000000 +0000
@@ -280,7 +280,7 @@
       //Of other controls (Not sure about this, but should be right)
       //Gudy :p
       ok = new Button(shell,SWT.PUSH);     
-      ok.setEnabled(false);
+      ok.setEnabled(true);
       Messages.setLanguageText(ok,"DonationWindow.ok");
       
       formData = new FormData();
--- azureus-2.3.0.6/org/gudy/azureus2/ui/swt/donations/DonationWindow2.java     
2005-11-21 20:42:34.000000000 +0000
+++ azureus-unannoy/org/gudy/azureus2/ui/swt/donations/DonationWindow2.java     
2006-01-07 11:32:57.000000000 +0000
@@ -280,7 +280,7 @@
       //Of other controls (Not sure about this, but should be right)
       //Gudy :p
       ok = new Button(shell,SWT.PUSH);     
-      ok.setEnabled(false);
+      ok.setEnabled(true);
       Messages.setLanguageText(ok,"DonationWindow.ok");
       
       formData = new FormData();
@@ -412,5 +412,9 @@
   }
   
   public static void checkForDonationPopup() {
+    return;
+  }
+
+  public static void checkForDonationPopup_disabled() {
        try{
                class_mon.enter();

Attachment: signature.asc
Description: Digital signature

Reply via email to