Revision 9326b841 src/gr/grnet/pithos/web/client/FileContextMenu.java
b/src/gr/grnet/pithos/web/client/FileContextMenu.java | ||
---|---|---|
237 | 237 |
} |
238 | 238 |
|
239 | 239 |
if (selectedFolder != null && !selectedFolder.isInTrash()) { |
240 |
if (isFolderTreeSelected && selectedFiles.size() == 1) |
|
241 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Properties</span>", true, new PropertiesCommand(app, this, selectedFiles, 0))); |
|
240 |
if (isFolderTreeSelected && selectedFiles.size() == 1) { |
|
241 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Properties</span>", true, new PropertiesCommand(app, this, selectedFiles, PropertiesCommand.PROPERTIES))); |
|
242 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.sharing()).getHTML() + " Sharing</span>", true, new PropertiesCommand(app, this, selectedFiles, PropertiesCommand.PERMISSIONS))); |
|
243 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.versions()).getHTML() + " Versions</span>", true, new PropertiesCommand(app, this, selectedFiles, PropertiesCommand.VERSIONS))); |
|
244 |
} |
|
242 | 245 |
|
243 | 246 |
} |
244 | 247 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.download()).getHTML() + " Download</span>", true, new Command() { |
Also available in: Unified diff