diff --git a/accounts/gmail/gmailsettings.cpp b/accounts/gmail/gmailsettings.cpp --- a/accounts/gmail/gmailsettings.cpp +++ b/accounts/gmail/gmailsettings.cpp @@ -39,9 +39,17 @@ mSmtpServer = "smtps://smtp.gmail.com:587"; mSmtpUsername = mEmailAddress; + mCardDavServer = QStringLiteral("https://www.googleapis.com/carddav/v1/principals/") + mEmailAddress + "/"; + mCardDavUsername = mEmailAddress; + + mCalDavServer = QStringLiteral("https://www.google.com/calendar/dav/") + mEmailAddress + "/"; + mCalDavUsername = mEmailAddress; + saveAccount(); saveImapResource(); saveMailtransportResource(); + saveCardDavResource(); + saveCalDavResource(); saveIdentity(); } diff --git a/accounts/gmail/metadata.json b/accounts/gmail/metadata.json --- a/accounts/gmail/metadata.json +++ b/accounts/gmail/metadata.json @@ -1,4 +1,4 @@ { - "Name": "GMail", + "Name": "Google", "RequiresKeyring": true } diff --git a/accounts/gmail/qml/AccountSettings.qml b/accounts/gmail/qml/AccountSettings.qml --- a/accounts/gmail/qml/AccountSettings.qml +++ b/accounts/gmail/qml/AccountSettings.qml @@ -25,7 +25,7 @@ Item { property string accountId - property string heading: qsTr("Connect your GMail account") + property string heading: qsTr("Connect your Google account") property string subheadline: qsTr("To let Kube access your account, fill in email address, username and give the account a title that will be displayed inside Kube.") property bool valid: true implicitHeight: grid.implicitHeight @@ -52,7 +52,7 @@ rowSpacing: Kube.Units.largeSpacing Kube.Label { - text: "Please note that GMail requires you to configure your account to allow IMAP connections from Kube: + text: "Please note that Google requires you to configure your account to allow IMAP connections from Kube:
  1. See https://support.google.com/mail/answer/7126229 to configure your account to allow IMAP connections.
  2. Visit https://myaccount.google.com/lesssecureapps and enable the setting to allow Kube to connect to your account."