Changeset 10369 in josm for trunk/src/org/openstreetmap/josm/gui/oauth
- Timestamp:
- 2016-06-14T17:23:20+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/oauth
- Files:
-
- 4 edited
-
FullyAutomaticAuthorizationUI.java (modified) (3 diffs)
-
ManualAuthorizationUI.java (modified) (1 diff)
-
OAuthAuthorizationWizard.java (modified) (2 diffs)
-
SemiAutomaticAuthorizationUI.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r10367 r10369 325 325 RunAuthorisationAction() { 326 326 putValue(NAME, tr("Authorize now")); 327 new ImageProvider("oauth", "oauth-small").getResource(). getImageIcon(this);327 new ImageProvider("oauth", "oauth-small").getResource().attachImageIcon(this); 328 328 putValue(SHORT_DESCRIPTION, tr("Click to redirect you to the authorization form on the JOSM web site")); 329 329 updateEnabledState(); … … 362 362 putValue(NAME, tr("Back")); 363 363 putValue(SHORT_DESCRIPTION, tr("Run the automatic authorization steps again")); 364 new ImageProvider("dialogs", "previous").getResource(). getImageIcon(this);364 new ImageProvider("dialogs", "previous").getResource().attachImageIcon(this); 365 365 } 366 366 … … 377 377 TestAccessTokenAction() { 378 378 putValue(NAME, tr("Test Access Token")); 379 new ImageProvider("logo").getResource(). getImageIcon(this);379 new ImageProvider("logo").getResource().attachImageIcon(this); 380 380 } 381 381 -
trunk/src/org/openstreetmap/josm/gui/oauth/ManualAuthorizationUI.java
r10367 r10369 223 223 TestAccessTokenAction() { 224 224 putValue(NAME, tr("Test Access Token")); 225 new ImageProvider("oauth", "oauth-small").getResource(). getImageIcon(this);225 new ImageProvider("oauth", "oauth-small").getResource().attachImageIcon(this); 226 226 putValue(SHORT_DESCRIPTION, tr("Click to test the Access Token")); 227 227 updateEnabledState(); -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r10367 r10369 351 351 CancelAction() { 352 352 putValue(NAME, tr("Cancel")); 353 new ImageProvider("cancel").getResource(). getImageIcon(this);353 new ImageProvider("cancel").getResource().attachImageIcon(this); 354 354 putValue(SHORT_DESCRIPTION, tr("Close the dialog and cancel authorization")); 355 355 } … … 373 373 AcceptAccessTokenAction() { 374 374 putValue(NAME, tr("Accept Access Token")); 375 new ImageProvider("ok").getResource(). getImageIcon(this);375 new ImageProvider("ok").getResource().attachImageIcon(this); 376 376 putValue(SHORT_DESCRIPTION, tr("Close the dialog and accept the Access Token")); 377 377 updateEnabledState(null); -
trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java
r10367 r10369 292 292 putValue(NAME, tr("Back")); 293 293 putValue(SHORT_DESCRIPTION, tr("Go back to step 1/3")); 294 new ImageProvider("dialogs", "previous").getResource(). getImageIcon(this);294 new ImageProvider("dialogs", "previous").getResource().attachImageIcon(this); 295 295 } 296 296 … … 368 368 putValue(NAME, tr("Restart")); 369 369 putValue(SHORT_DESCRIPTION, tr("Go back to step 1/3")); 370 new ImageProvider("dialogs", "previous").getResource(). getImageIcon(this);370 new ImageProvider("dialogs", "previous").getResource().attachImageIcon(this); 371 371 } 372 372 … … 389 389 RetrieveRequestTokenAction() { 390 390 putValue(NAME, tr("Retrieve Request Token")); 391 new ImageProvider("oauth", "oauth-small").getResource(). getImageIcon(this);391 new ImageProvider("oauth", "oauth-small").getResource().attachImageIcon(this); 392 392 putValue(SHORT_DESCRIPTION, tr("Click to retrieve a Request Token")); 393 393 } … … 425 425 RetrieveAccessTokenAction() { 426 426 putValue(NAME, tr("Retrieve Access Token")); 427 new ImageProvider("oauth", "oauth-small").getResource(). getImageIcon(this);427 new ImageProvider("oauth", "oauth-small").getResource().attachImageIcon(this); 428 428 putValue(SHORT_DESCRIPTION, tr("Click to retrieve an Access Token")); 429 429 } … … 462 462 TestAccessTokenAction() { 463 463 putValue(NAME, tr("Test Access Token")); 464 new ImageProvider("oauth", "oauth-small").getResource(). getImageIcon(this);464 new ImageProvider("oauth", "oauth-small").getResource().attachImageIcon(this); 465 465 putValue(SHORT_DESCRIPTION, tr("Click to test the Access Token")); 466 466 }
Note:
See TracChangeset
for help on using the changeset viewer.
