Changeset 6655


Ignore:
Timestamp:
2004-01-29T14:27:24+13:00 (20 years ago)
Author:
jmt12
Message:

Temporarily disabled old config error dialog as it isn't multilingual, and we have the UNESCO multilingual prototype release bearing down upon us.

File:
1 edited

Legend:

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

    r6630 r6655  
    209209        String configuration_version = configuration_element.getAttribute(StaticStrings.VERSION_ATTRIBUTE);
    210210        if(!configuration_version.equals(CURRENT_CONFIGURATION_VERSION)) {
    211         JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("Configuration.Obsolete_Config"), Dictionary.get("Configuration.Obsolete_Config_Title"), JOptionPane.ERROR_MESSAGE);
     211        /** @todo - reenable this once we can change the dictionary. */
     212        //JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("Configuration.Obsolete_Config"), Dictionary.get("Configuration.Obsolete_Config_Title"), JOptionPane.ERROR_MESSAGE);
    212213        general_config = null;
    213214        configuration_element = null;
     
    613614
    614615    public String getWGetPath() {
    615     return wget_path;
     616    return (wget_path != null ? wget_path : "");
    616617    }
    617618
    618619    public String getWGetVersion() {
    619     return wget_version_str;
     620    return (wget_version_str != null ? wget_version_str : StaticStrings.NO_WGET_STR);
    620621    }
    621622
Note: See TracChangeset for help on using the changeset viewer.