Changeset 19507 for gli


Ignore:
Timestamp:
2009-05-18T13:28:29+12:00 (15 years ago)
Author:
ak19
Message:

Part of changes to how GLI deals with an independently launched GSI which uses llssite.cfg (as opposed to one that GLI launches and which uses glisite.cfg). Still need to commit the changes in LocalLibraryServer.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/PreviewButton.java

    r19203 r19507  
    3535import javax.swing.*;
    3636import org.greenstone.gatherer.Configuration;
     37import org.greenstone.gatherer.Dictionary;
    3738import org.greenstone.gatherer.Gatherer;
    3839import org.greenstone.gatherer.collection.CollectionManager;
     
    134135        Gatherer.c_man.saveCollection();
    135136       
    136         configureHomeURL();
     137        if(LocalLibraryServer.isURLPending()) {
     138        // Remind the user to press Enter Library, and return from this method
     139        JOptionPane.showMessageDialog(Gatherer.g_man,
     140                          Dictionary.get("General.LLS_Not_Started"),
     141                          Dictionary.get("General.LLS_Not_Started_Title"),
     142                          JOptionPane.ERROR_MESSAGE);
     143        return;
     144       
     145        } else {
     146        configureHomeURL();
     147        }
    137148       
    138149        if (Gatherer.GS3) {
Note: See TracChangeset for help on using the changeset viewer.