From 9640bbb91dd0dc2e23283972717632e89a9e1632 Mon Sep 17 00:00:00 2001 From: Danny van Heumen Date: Wed, 22 Jul 2015 23:11:31 +0200 Subject: Added dialog title, fine tuned instructions. --- .../sip/communicator/impl/googlecontacts/OAuth2TokenStore.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net/java/sip/communicator/impl') 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); -- cgit v1.1