- Timestamp:
- 2005-02-15T15:39:48+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r9035 r9045 621 621 } 622 622 else if(user_choice == SimpleOpenCollectionDialog.BROWSE_OPTION) { 623 File file;623 File collect_directory; 624 624 if (Gatherer.GS3) { 625 if (Configuration.gsdl3_path != null) { 626 file = new File(Utility.getSitesDir(Configuration.gsdl3_path)); 627 } else { 628 file = new File(Utility.BASE_DIR); 629 } 630 631 } else { 632 633 if(Configuration.gsdl_path != null) { 634 file = new File(Utility.getCollectDir(Configuration.gsdl_path)); 635 } 636 else { 637 file = new File(Utility.BASE_DIR); 638 } 639 } 640 OpenCollectionDialog chooser = new OpenCollectionDialog(file); 641 file = null; 625 collect_directory = new File(Utility.getSitesDir(Configuration.gsdl3_path)); 626 } 627 else { 628 collect_directory = new File(Gatherer.getCollectDirectoryPath()); 629 } 630 OpenCollectionDialog chooser = new OpenCollectionDialog(collect_directory); 642 631 filename = chooser.getFileName(); 643 632 chooser.destroy();
Note:
See TracChangeset
for help on using the changeset viewer.