Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/commands/PasteCommand.java

b/web_client/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
36 36

  
37 37
import com.google.gwt.core.client.Scheduler;
38 38
import gr.grnet.pithos.web.client.Clipboard;
39
import gr.grnet.pithos.web.client.GSS;
39
import gr.grnet.pithos.web.client.Pithos;
40 40
import gr.grnet.pithos.web.client.foldertree.File;
41 41
import gr.grnet.pithos.web.client.foldertree.Folder;
42 42
import gr.grnet.pithos.web.client.foldertree.Resource;
......
52 52

  
53 53
public class PasteCommand implements Command {
54 54

  
55
    private GSS app;
55
    private Pithos app;
56 56
	private PopupPanel containerPanel;
57 57
    private Folder folder;
58 58

  
59
	public PasteCommand(GSS _app, PopupPanel _containerPanel, Folder _folder) {
59
	public PasteCommand(Pithos _app, PopupPanel _containerPanel, Folder _folder) {
60 60
        app = _app;
61 61
		containerPanel = _containerPanel;
62 62
        folder = _folder;
......
131 131
                public void onError(Throwable t) {
132 132
                    GWT.log("", t);
133 133
                    if (t instanceof RestException) {
134
                        GSS.get().displayError("Unable to copy file: " + ((RestException) t).getHttpStatusText());
134
                        Pithos.get().displayError("Unable to copy file: " + ((RestException) t).getHttpStatusText());
135 135
                    }
136 136
                    else
137
                        GSS.get().displayError("System error unable to copy file: "+t.getMessage());
137
                        Pithos.get().displayError("System error unable to copy file: "+t.getMessage());
138 138
                }
139 139
            };
140 140
            copyFile.setHeader("X-Auth-Token", app.getToken());

Also available in: Unified diff