Author: jflesch
Date: 2007-07-08 14:54:57 +0000 (Sun, 08 Jul 2007)
New Revision: 13989

Modified:
   trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java
   trunk/apps/Thaw/src/thaw/plugins/index/Index.java
Log:
Don't check if a transfer related to this index is already running when the 
user want to insert a new revision of the index : It blocked the people with 
few indexes because the autorefresher refreshed always all their indexes

Modified: trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java      2007-07-08 13:13:41 UTC 
(rev 13988)
+++ trunk/apps/Thaw/src/thaw/plugins/TrayIcon.java      2007-07-08 14:54:57 UTC 
(rev 13989)
@@ -41,7 +41,7 @@
        private JDialog dialog;
        private JButton closeDialog;

-       public final static int DIALOG_X = 400;
+       public final static int DIALOG_X = 300;
        public final static int DIALOG_Y = 500;



Modified: trunk/apps/Thaw/src/thaw/plugins/index/Index.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/Index.java   2007-07-08 13:13:41 UTC 
(rev 13988)
+++ trunk/apps/Thaw/src/thaw/plugins/index/Index.java   2007-07-08 14:54:57 UTC 
(rev 13989)
@@ -667,12 +667,15 @@
                }


-
+               /* Let's hope that users are not stupid
+                * and won't insert 5 revisions at once. */
+               /*
                if (indexBrowser != null && indexBrowser.getIndexTree() != null
                    && indexBrowser.getIndexTree().isIndexUpdating(this)) {
                        Logger.notice(this, "A transfer is already running !");
                        return 0;
                }
+               */

                if (!FreenetURIHelper.isAKey(publicKey)
                    || !FreenetURIHelper.isAKey(privateKey)) { /* non 
modifiable */


Reply via email to