Ignore:
Timestamp:
2004-01-27T16:35:34+13:00 (20 years ago)
Author:
jmt12
Message:

More modifications to mirroring including testing for a valid version of Wget (and complaining if its missing or it is old) and rearranging buttons on the GProgressBar

File:
1 edited

Legend:

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

    r6539 r6622  
    105105
    106106    public String getBrowserCommand(String url) {
    107     System.err.println("Get browser command: " + url);
     107    Gatherer.println("Get browser command: " + url);
    108108    // First off we try to retrieve one from the configuration
    109109    String command = Gatherer.config.getPreviewCommand();
     
    111111    if(command != null && command.length() > 0) {
    112112        command = command.replaceAll("%1", url);
    113         System.err.println("Result = " + command);
     113        Gatherer.println("Result = " + command);
    114114        return command;
    115115    }
     
    164164    // if we haven't got a command by now, we'll never get one
    165165    if (command == null) {
    166         System.err.println("Result = " + command);
     166        Gatherer.println("Result = " + command);
    167167        return null;
    168168    }
    169169    // Replace %1 with the url in quotes
    170170    command = command.replaceAll(FILENAME_ARG, url);
    171     System.err.println("Result = " + command);
     171    Gatherer.println("Result = " + command);
    172172    return command;
    173173    }
Note: See TracChangeset for help on using the changeset viewer.