Changeset 9062


Ignore:
Timestamp:
2005-02-16T13:34:00+13:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed up one place where a non-standard collect directory wasn't being honoured.

File:
1 edited

Legend:

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

    r9045 r9062  
    7979    if (refresh_reason == DragTree.COLLECTION_CONTENTS_CHANGED) {
    8080        DebugStream.println("...Reason: collection contents changed.");
    81         String import_directory_str = Gatherer.c_man.getCollectionImportDirectoryPath();
    82         refreshEveryNodeShowingFolder(import_directory_str);
     81        String collection_import_directory_path = Gatherer.c_man.getCollectionImportDirectoryPath();
     82        refreshEveryNodeShowingFolder(collection_import_directory_path);
    8383    }
    8484
     
    8686    if (refresh_reason == WorkspaceTree.LIBRARY_CONTENTS_CHANGED) {
    8787        DebugStream.println("...Reason: library contents changed.");
    88         String collect_directory_str = Configuration.gsdl_path + Utility.COL_DIR;
    89         refreshEveryNodeShowingFolder(collect_directory_str);
     88        String collect_directory_path = Gatherer.getCollectDirectoryPath();
     89        refreshEveryNodeShowingFolder(collect_directory_path);
    9090        WorkspaceTreeModel.refreshGreenstoneCollectionsNode();
    9191    }
Note: See TracChangeset for help on using the changeset viewer.