summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Conway <mikeconway@Mike-Conways-MacBook-Pro.local>2011-07-15 13:40:35 (GMT)
committer Mike Conway <mikeconway@Mike-Conways-MacBook-Pro.local>2011-07-15 13:40:35 (GMT)
commite1ed08c4171dc82b99cfdc806e8a61e03b3fd1dd (patch)
tree21358575c1ed5b2da408a2dac68df7ba63363ccc
parentc5296be6cde4150ca4f408bff1862c76051d795a (diff)
downloadQCG-Data-e1ed08c4171dc82b99cfdc806e8a61e03b3fd1dd.zip
QCG-Data-e1ed08c4171dc82b99cfdc806e8a61e03b3fd1dd.tar.gz
QCG-Data-e1ed08c4171dc82b99cfdc806e8a61e03b3fd1dd.tar.bz2
startup sequence tweaks for initial show of gui
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/StartupSequencer.java1
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/SetupWizard.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/StartupSequencer.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/StartupSequencer.java
index a0c33c6..3766508 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/StartupSequencer.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/StartupSequencer.java
@@ -254,6 +254,7 @@ public class StartupSequencer {
log.info("switching to show GUI at startup");
try {
idropCore.getIdropConfigurationService().updateConfig(IdropConfigurationService.SHOW_GUI, "true");
+ idrop.showIdropGui();
} catch (IdropException ex) {
log.error("error setting show GUI at startup", ex);
throw new IdropRuntimeException(ex);
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/SetupWizard.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/SetupWizard.java
index 4f904a9..039163e 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/SetupWizard.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/SetupWizard.java
@@ -368,6 +368,8 @@ public class SetupWizard extends javax.swing.JDialog {
private void btnChooseLocalSynchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnChooseLocalSynchActionPerformed
// TODO add your handling code here:
JFileChooser localFileChooser = new JFileChooser();
+ localFileChooser.setMultiSelectionEnabled(false);
+ localFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
int returnVal = localFileChooser.showOpenDialog(this);
}//GEN-LAST:event_btnChooseLocalSynchActionPerformed