Changeset 8442 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2015-06-02T14:58:03+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r8308 r8442 83 83 setLayout(new BorderLayout()); 84 84 setIconTextGap(2); 85 setMargin(new Insets( -1,0,-1,0));85 setMargin(new Insets(0,0,0,0)); 86 86 } 87 87 -
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r8308 r8442 60 60 61 61 // Add the logo 62 JLabel logo = new JLabel(new ImageIcon(ImageProvider.get("logo. png").getImage().getScaledInstance(128, 129, Image.SCALE_SMOOTH)));62 JLabel logo = new JLabel(new ImageIcon(ImageProvider.get("logo.svg").getImage().getScaledInstance(128, 129, Image.SCALE_SMOOTH))); 63 63 GridBagConstraints gbc = new GridBagConstraints(); 64 64 gbc.gridheight = 2; -
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r8308 r8442 335 335 public RunAuthorisationAction() { 336 336 putValue(NAME, tr("Authorize now")); 337 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));337 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 338 338 putValue(SHORT_DESCRIPTION, tr("Click to redirect you to the authorization form on the JOSM web site")); 339 339 updateEnabledState(); -
trunk/src/org/openstreetmap/josm/gui/oauth/ManualAuthorizationUI.java
r8308 r8442 247 247 public TestAccessTokenAction() { 248 248 putValue(NAME, tr("Test Access Token")); 249 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));249 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 250 250 putValue(SHORT_DESCRIPTION, tr("Click to test the Access Token")); 251 251 updateEnabledState(); -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r8426 r8442 89 89 * Builds the panel with general information in the header 90 90 * 91 * @return panel w oth information display91 * @return panel with information display 92 92 */ 93 93 protected JPanel buildHeaderInfoPanel() { … … 101 101 gc.weightx = 1.0; 102 102 gc.gridwidth = 2; 103 JLabel lbl = new JLabel(); 104 lbl.setIcon(ImageProvider.get("oauth", "oauth-logo")); 103 ImageProvider logoProv = new ImageProvider("oauth", "oauth-logo"); 104 JLabel lbl = new JLabel(logoProv.get()); 105 lbl.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); 105 106 lbl.setOpaque(true); 106 107 pnl.add(lbl, gc); … … 167 168 168 169 setTitle(tr("Get an Access Token for ''{0}''", apiUrl)); 170 this.setMinimumSize(new Dimension(420, 400)); 169 171 170 172 pnlFullyAutomaticAuthorisationUI = new FullyAutomaticAuthorizationUI(apiUrl); -
trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java
r8426 r8442 385 385 public RetrieveRequestTokenAction() { 386 386 putValue(NAME, tr("Retrieve Request Token")); 387 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));387 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 388 388 putValue(SHORT_DESCRIPTION, tr("Click to retrieve a Request Token")); 389 389 } … … 421 421 public RetrieveAccessTokenAction() { 422 422 putValue(NAME, tr("Retrieve Access Token")); 423 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));423 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 424 424 putValue(SHORT_DESCRIPTION, tr("Click to retrieve an Access Token")); 425 425 } … … 458 458 public TestAccessTokenAction() { 459 459 putValue(NAME, tr("Test Access Token")); 460 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));460 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 461 461 putValue(SHORT_DESCRIPTION, tr("Click to test the Access Token")); 462 462 } -
trunk/src/org/openstreetmap/josm/gui/preferences/server/OAuthAuthenticationPreferencesPanel.java
r6901 r8442 311 311 putValue(NAME, tr("Authorize now")); 312 312 putValue(SHORT_DESCRIPTION, tr("Click to step through the OAuth authorization process")); 313 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));313 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 314 314 315 315 } … … 337 337 putValue(NAME, tr("New Access Token")); 338 338 putValue(SHORT_DESCRIPTION, tr("Click to step through the OAuth authorization process and generate a new Access Token")); 339 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));339 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 340 340 341 341 } … … 363 363 putValue(NAME, tr("Test Access Token")); 364 364 putValue(SHORT_DESCRIPTION, tr("Click test access to the OSM server with the current access token")); 365 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth "));365 putValue(SMALL_ICON, ImageProvider.get("oauth", "oauth-small")); 366 366 367 367 }
Note:
See TracChangeset
for help on using the changeset viewer.