Changeset 9021


Ignore:
Timestamp:
2005-02-14T13:15:59+13:00 (19 years ago)
Author:
mdewsnip
Message:

Some applet bug fixes, by Matthew Whyte.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
3 edited

Legend:

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

    r8792 r9021  
    7070     */
    7171    public FileQueue() {
     72    DebugStream.println("FileQueue started.");
    7273    this.queue = new ArrayList();
    7374    file_status = new JLabel();
     
    502503            }
    503504        }
    504         else {
     505        else { // job == null
    505506            // Disable stop button
    506507            if (stop_button != null) {
     
    519520            progress.setString(Dictionary.get("FileActions.No_Activity"));
    520521            yes_to_all = false;
    521             wait();
     522            try {
     523                wait();
     524            }
     525            catch (InterruptedException exception) {}
    522526            }
    523527        }
  • trunk/gli/src/org/greenstone/gatherer/shell/GShell.java

    r8997 r9021  
    475475        String col_dir = Utility.getCollectionDir(Configuration.gsdl_path, col_name);
    476476        File img_dir = new File(Utility.getImagesDir(col_dir));
    477         if (img_dir.exists()) {
     477        if (img_dir.exists() && img_dir.list().length > 0) {
    478478            // upload images/ directory to server
    479479            Utility.zipup(col_name,"images");
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r8974 r9021  
    756756        fos.close();
    757757    }
    758     catch (IOException e) {
    759         e.printStackTrace();
     758    catch (IOException exception) {
     759        DebugStream.printStackTrace(exception);
    760760    }
    761761    }
Note: See TracChangeset for help on using the changeset viewer.