aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip')
-rw-r--r--src/net/java/sip/communicator/impl/googlecontacts/OAuth2TokenStore.java7
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);