Ignore:
Timestamp:
2007-01-12T15:36:27+13:00 (17 years ago)
Author:
mdewsnip
Message:

Removed some more occurrences of Gatherer.c_man.

File:
1 edited

Legend:

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

    r13592 r13595  
    3636import org.greenstone.gatherer.Configuration;
    3737import org.greenstone.gatherer.Gatherer;
    38 import org.greenstone.gatherer.collection.Collection;
     38import org.greenstone.gatherer.collection.CollectionManager;
    3939import org.greenstone.gatherer.greenstone.LocalLibraryServer;
    4040import org.greenstone.gatherer.util.StaticStrings;
     
    7474    protected void configureHomeURL() {
    7575    // set up the home page for the current collection
    76     Collection current_collection = Gatherer.c_man.getCollection();
    7776    if (Gatherer.GS3) {
    7877        // don't do anything fancy here
    79         preview_address = Configuration.library_url.toString() + Configuration.getServletPath()+ "?a=p&sa=about&c=" + current_collection.getName()+"&l="+Configuration.getLanguage();
     78        preview_address = Configuration.library_url.toString() + Configuration.getServletPath() + "?a=p&sa=about&c=" + CollectionManager.getLoadedCollectionName() + "&l=" + Configuration.getLanguage();
    8079        return;
    8180    }
    82     preview_address = Configuration.library_url.toString()+"?c="+current_collection.getName()+"&l="+Configuration.getLanguage();
     81    preview_address = Configuration.library_url.toString() + "?c=" + CollectionManager.getLoadedCollectionName() + "&l=" + Configuration.getLanguage();
    8382
    8483    String main_args = "&a=p&p=about";
Note: See TracChangeset for help on using the changeset viewer.