Changeset 4600


Ignore:
Timestamp:
2003-06-12T12:52:47+12:00 (21 years ago)
Author:
kjdon
Message:

on collectionChanged, the preview pane now reloads the home page of teh collection. If you were looking somewhere else at that time, tough titty.

File:
1 edited

Legend:

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

    r4560 r4600  
    9595        homepage = null;
    9696        view.showHTMLDocument(BLANK_PAGE);
     97    }
     98    if (ready) {
     99        // reload the home page for the current collection
     100        try {
     101        // Now load the collection
     102        homepage = new URL(Gatherer.config.exec_address.toString() + "?a=p&p=about&c=" + Gatherer.c_man.getCollection().getName());
     103        ///atherer.println("Loading " + url);
     104        status.setText(get("Loading", homepage.toString()));
     105        view.showHTMLDocument(homepage, null, true);
     106        }
     107        catch (MalformedURLException exception) {
     108        Gatherer.printStackTrace(exception);
     109        }
    97110    }
    98111    }
Note: See TracChangeset for help on using the changeset viewer.