Changeset 10379


Ignore:
Timestamp:
2005-08-01T14:48:36+12:00 (19 years ago)
Author:
mdewsnip
Message:

Now downloads the collection configurations (when using a remote Greenstone server) when the GLI starts up, rather than when File -> Open is selected.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r10375 r10379  
    116116
    117117    MetadataXMLFileManager.addMetadataChangedListener(this);
     118
     119    // If using a remote Greenstone server, download the collection configurations
     120    if (Gatherer.isGsdlRemote) {
     121        RemoteGreenstoneServer.downloadCollectionConfigurations();
     122    }
    118123    }
    119124
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r10264 r10379  
    5858import org.greenstone.gatherer.gui.metaaudit.MetaAuditFrame;
    5959import org.greenstone.gatherer.gui.tree.DragTree;
    60 import org.greenstone.gatherer.remote.RemoteGreenstoneServer;
    6160import org.greenstone.gatherer.util.JarTools;
    6261import org.greenstone.gatherer.util.StaticStrings;
     
    183182    }
    184183    else if (esrc == menu_bar.file_open) {
    185         // If using a remote Greenstone server, download the collection configurations
    186         if (Gatherer.isGsdlRemote) {
    187         RemoteGreenstoneServer.downloadCollectionConfigurations();
    188         }
    189 
    190184        String collection_file_path = showOpenCollectionDialog();
    191185
Note: See TracChangeset for help on using the changeset viewer.