summaryrefslogtreecommitdiffstats
path: root/idrop-swing
diff options
context:
space:
mode:
authorMike Conway <michael.c.conway@gmail.com>2011-10-10 13:46:06 (GMT)
committer Mike Conway <michael.c.conway@gmail.com>2011-10-10 13:46:06 (GMT)
commit374cb9f90d61ed510e4c3c64b9a4128d709035a8 (patch)
tree72c0462baeeb6d6ee6f06704cc5abc7f8cc992a3 /idrop-swing
parent35e7376e6238ace5116dc7a579b1c7d0f909eeda (diff)
downloadQCG-Data-374cb9f90d61ed510e4c3c64b9a4128d709035a8.zip
QCG-Data-374cb9f90d61ed510e4c3c64b9a4128d709035a8.tar.gz
QCG-Data-374cb9f90d61ed510e4c3c64b9a4128d709035a8.tar.bz2
[#476] cannot delete a synchronization
Diffstat (limited to 'idrop-swing')
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IDROPConfigurationPanel.java3
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/finder/IRODSFinderTree.java1
2 files changed, 3 insertions, 1 deletions
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IDROPConfigurationPanel.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IDROPConfigurationPanel.java
index 59a5066..018b657 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IDROPConfigurationPanel.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IDROPConfigurationPanel.java
@@ -1459,8 +1459,9 @@ public class IDROPConfigurationPanel extends javax.swing.JDialog {
} else if (selectedSynchronization.getFrequencyType() == FrequencyType.EVERY_TWO_MINUTES) {
jcomboSynchFrequency.setSelectedIndex(3);
} else {
+ // default to hourly to avoid errors
log.error("unknown frequency type for synch:{}", selectedSynchronization.getFrequencyType());
- throw new IdropRuntimeException("unknown frequency type for synch");
+ jcomboSynchFrequency.setSelectedIndex(0);
}
if (selectedSynchronization.getSynchronizationMode() == SynchronizationType.BI_DIRECTIONAL) {
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/finder/IRODSFinderTree.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/finder/IRODSFinderTree.java
index 07d1fe3..cb693c1 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/finder/IRODSFinderTree.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/finder/IRODSFinderTree.java
@@ -92,6 +92,7 @@ public class IRODSFinderTree extends Outline implements TreeWillExpandListener,
private void initializeMenusAndListeners() {
setDragEnabled(false);
setUpTreeMenu();
+ setDropMode(javax.swing.DropMode.USE_SELECTION);
}
/**