Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/StatusPanel.java
b/web_client/src/gr/grnet/pithos/web/client/StatusPanel.java | ||
---|---|---|
35 | 35 |
package gr.grnet.pithos.web.client; |
36 | 36 |
|
37 | 37 |
import com.google.gwt.core.client.Scheduler; |
38 |
import com.google.gwt.core.client.Scheduler.ScheduledCommand; |
|
39 | 38 |
import gr.grnet.pithos.web.client.foldertree.AccountResource; |
40 |
import gr.grnet.pithos.web.client.rest.GetCommand; |
|
41 | 39 |
import gr.grnet.pithos.web.client.rest.GetRequest; |
42 | 40 |
import gr.grnet.pithos.web.client.rest.RestException; |
43 |
import gr.grnet.pithos.web.client.rest.resource.QuotaHolder; |
|
44 |
import gr.grnet.pithos.web.client.rest.resource.UserResource; |
|
45 | 41 |
|
46 | 42 |
import com.google.gwt.core.client.GWT; |
47 | 43 |
import com.google.gwt.i18n.client.DateTimeFormat; |
... | ... | |
170 | 166 |
*/ |
171 | 167 |
//TODO: This should not be done here |
172 | 168 |
public void updateStats() { |
173 |
final GSS app = GSS.get();
|
|
169 |
final Pithos app = Pithos.get();
|
|
174 | 170 |
String path = app.getApiPath() + app.getUsername(); |
175 | 171 |
GetRequest<AccountResource> getAccount = new GetRequest<AccountResource>(AccountResource.class, path) { |
176 | 172 |
@Override |
Also available in: Unified diff