Changeset 4374 for trunk/gli/src/org/greenstone/gatherer/gui
- Timestamp:
- 2003-05-28T09:49:58+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java
r4367 r4374 186 186 } 187 187 if(error) { 188 JOptionPane.showMessageDialog(Gatherer.g_man, Gatherer.dictionary.get("FileActions.No_Parent_For_New_Folder"), Gatherer.dictionary.get("General.Error"), JOptionPane.ERROR_MESSAGE); 188 // instead of an error, we now create a new folder at the root 189 FileNode node = (FileNode) collection_tree.getModel().getRoot(); 190 Gatherer.f_man.newFolder(collection_tree, node); 191 //JOptionPane.showMessageDialog(Gatherer.g_man, Gatherer.dictionary.get("FileActions.No_Parent_For_New_Folder"), Gatherer.dictionary.get("General.Error"), JOptionPane.ERROR_MESSAGE); 189 192 } 190 193 }
Note:
See TracChangeset
for help on using the changeset viewer.