Changeset 19507

Show
Ignore:
Timestamp:
18.05.2009 13:28:29 (10 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

Files:
1 modified

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) {