X-Git-Url: https://code.grnet.gr/git/pithos-web-client/blobdiff_plain/a19f758cd5aa043c66596f098e62388e27ef2013..a9e497d4bad70eb1b8735480fafe60a9ab2887d6:/src/gr/grnet/pithos/web/client/FileContextMenu.java diff --git a/src/gr/grnet/pithos/web/client/FileContextMenu.java b/src/gr/grnet/pithos/web/client/FileContextMenu.java index b1abb8b..d25c08e 100644 --- a/src/gr/grnet/pithos/web/client/FileContextMenu.java +++ b/src/gr/grnet/pithos/web/client/FileContextMenu.java @@ -237,10 +237,6 @@ public class FileContextMenu extends PopupPanel { contextMenu.addItem(deleteItem); } -// MenuItem refresh = new MenuItem("" + AbstractImagePrototype.create(images.refresh()).getHTML() + " Refresh", true, new RefreshCommand(this, images)); -// contextMenu.addItem(refresh); -// sharingItem = new MenuItem("" + AbstractImagePrototype.create(newImages.sharing()).getHTML() + " Sharing", true, new PropertiesCommand(this, images, 1)); -// contextMenu.addItem(sharingItem); if (selectedFolder != null && !selectedFolder.isInTrash()) { if (isFolderTreeSelected && selectedFiles.size() == 1) contextMenu.addItem(new MenuItem("" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Properties", true, new PropertiesCommand(app, this, selectedFiles, images, 0))); @@ -248,14 +244,6 @@ public class FileContextMenu extends PopupPanel { } if (selectedFiles.size() == 1) contextMenu.addItem(new MenuItem("" + AbstractImagePrototype.create(newImages.download()).getHTML() + " Download", true, (Command) null)); - MenuItem unSelect = new MenuItem("" + AbstractImagePrototype.create(images.unselectAll()).getHTML() + " Unselect", true, new Command() { - @Override - public void execute() { - hide(); - app.getFileList().clearSelectedRows(); - } - }); - contextMenu.addItem(unSelect); add(contextMenu); }