Revision 008fa428 src/com/rackspacecloud/android/ListAccountsActivity.java
b/src/com/rackspacecloud/android/ListAccountsActivity.java | ||
---|---|---|
354 | 354 |
else if(authServer.equals(Preferences.COUNTRY_US_AUTH_SERVER)){ |
355 | 355 |
result = "Rackspace Cloud (US)"; |
356 | 356 |
} |
357 |
else if(authServer.equals(Preferences.PITHOS_SERVER)){ |
|
358 |
result = "Pithos+"; |
|
359 |
} |
|
360 |
else if(authServer.equals(Preferences.PITHOS_DEV_SERVER)){ |
|
361 |
result = "Pithos+ Dev"; |
|
362 |
} |
|
357 | 363 |
else{ |
358 |
result = "Custom";
|
|
364 |
result = "Custom:" +authServer;
|
|
359 | 365 |
//setCustomIcon(); |
360 | 366 |
} |
361 | 367 |
return result; |
... | ... | |
367 | 373 |
|| account.getAuthServer().equals(Preferences.COUNTRY_US_AUTH_SERVER)){ |
368 | 374 |
return R.drawable.rackspacecloud_icon; |
369 | 375 |
} |
376 |
if(account.getAuthServer().equals(Preferences.PITHOS_DEV_SERVER) |
|
377 |
|| account.getAuthServer().equals(Preferences.PITHOS_SERVER)){ |
|
378 |
return R.drawable.pithos_icon; |
|
379 |
} |
|
370 | 380 |
else{ |
371 | 381 |
return R.drawable.openstack_icon; |
372 | 382 |
} |
Also available in: Unified diff