diff options
author | Danny van Heumen <danny@dannyvanheumen.nl> | 2015-07-22 23:11:31 +0200 |
---|---|---|
committer | Danny van Heumen <danny@dannyvanheumen.nl> | 2015-07-22 23:13:27 +0200 |
commit | 9640bbb91dd0dc2e23283972717632e89a9e1632 (patch) | |
tree | 23fa47ec6341a592fb26c3b695e642095294e7ce /src/net/java/sip/communicator/impl | |
parent | 897600b91d702207cd28f8afc5856057beb1f0fc (diff) | |
download | jitsi-9640bbb91dd0dc2e23283972717632e89a9e1632.zip jitsi-9640bbb91dd0dc2e23283972717632e89a9e1632.tar.gz jitsi-9640bbb91dd0dc2e23283972717632e89a9e1632.tar.bz2 |
Added dialog title, fine tuned instructions.
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rw-r--r-- | src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java b/src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java index 4776e21..23c4e0c 100644 --- a/src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java +++ b/src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java @@ -445,6 +445,11 @@ public class OAuth2TokenStore private UserResponseType response = UserResponseType.CANCELLED; + /** + * Construct and initialize the OAuth 2 approval dialog. + * + * @param identity The identity for which approval is requested. + */ public OAuthApprovalDialog(final String identity) { final ResourceManagementService resources = @@ -453,6 +458,8 @@ public class OAuth2TokenStore resources.getI18NString("impl.googlecontacts.INSTRUCTIONS"); // configure dialog + this.setTitle(resources + .getI18NString("impl.googlecontacts.OAUTH_DIALOG_TITLE")); this.setMinimumSize(new Dimension(20, 20)); this.setPreferredSize(new Dimension(650, 200)); this.setBounds(10, 10, this.getWidth() - 20, this.getHeight() - 20); |