Merge lp:~mardy/ubuntu-system-settings-online-accounts/ui-bugs into lp:ubuntu-system-settings-online-accounts

Proposed by Alberto Mardegan
Status: Merged
Merged at revision: 106
Proposed branch: lp:~mardy/ubuntu-system-settings-online-accounts/ui-bugs
Merge into: lp:ubuntu-system-settings-online-accounts
Diff against target: 120 lines (+11/-15)
5 files modified
src/module/OAuth.qml (+4/-4)
src/module/OAuthMain.qml (+3/-6)
src/qml/AddAccountLabel.qml (+1/-2)
src/qml/MainPage.qml (+1/-1)
src/qml/ProviderRequest.qml (+2/-2)
To merge this branch: bzr merge lp:~mardy/ubuntu-system-settings-online-accounts/ui-bugs
Reviewer Review Type Date Requested Status
Alexandre Abreu (community) Approve
David Barth (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+210628@code.launchpad.net

Commit message

Fix a few UI issues:

- Application title should be "Accounts"
- Explanatory text should use the Caption style
- Cancel button when starting the OAuth process moved to the bottom of the page

(see the linked bugs for details)

Description of the change

Fix a few UI issues:

- Application title should be "Accounts"
- Explanatory text should use the Caption style
- Cancel button when starting the OAuth process moved to the bottom of the page

(see the linked bugs for details)

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Barth (dbarth) wrote :

+1

review: Approve
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/module/OAuth.qml'
--- src/module/OAuth.qml 2014-02-03 10:27:39 +0000
+++ src/module/OAuth.qml 2014-03-12 15:20:23 +0000
@@ -21,7 +21,7 @@
21import Ubuntu.Components.ListItems 0.1 as ListItem21import Ubuntu.Components.ListItems 0.1 as ListItem
22import Ubuntu.OnlineAccounts 0.122import Ubuntu.OnlineAccounts 0.1
2323
24Column {24Item {
25 id: root25 id: root
2626
27 /* To override the parameters coming from the .provider file: */27 /* To override the parameters coming from the .provider file: */
@@ -40,9 +40,7 @@
40 signal authenticationError(variant error)40 signal authenticationError(variant error)
41 signal finished41 signal finished
4242
43 anchors.left: parent.left43 anchors.fill: parent
44 anchors.right: parent.right
45 spacing: units.gu(2)
4644
47 Component.onCompleted: {45 Component.onCompleted: {
48 isNewAccount = (account.accountId === 0)46 isNewAccount = (account.accountId === 0)
@@ -84,6 +82,7 @@
84 visible: loading82 visible: loading
85 height: units.gu(7)83 height: units.gu(7)
86 showDivider: false84 showDivider: false
85 anchors.top: parent.top
8786
88 Item {87 Item {
89 height: units.gu(5)88 height: units.gu(5)
@@ -110,6 +109,7 @@
110 }109 }
111110
112 ListItem.SingleControl {111 ListItem.SingleControl {
112 anchors.bottom: parent.bottom
113 showDivider: false113 showDivider: false
114 control: Button {114 control: Button {
115 text: i18n.dtr("ubuntu-system-settings-online-accounts", "Cancel")115 text: i18n.dtr("ubuntu-system-settings-online-accounts", "Cancel")
116116
=== modified file 'src/module/OAuthMain.qml'
--- src/module/OAuthMain.qml 2013-06-05 11:33:39 +0000
+++ src/module/OAuthMain.qml 2014-03-12 15:20:23 +0000
@@ -20,7 +20,7 @@
20import Ubuntu.Components 0.120import Ubuntu.Components 0.1
21import Ubuntu.OnlineAccounts 0.121import Ubuntu.OnlineAccounts 0.1
2222
23Flickable {23Item {
24 id: root24 id: root
2525
26 property url creationComponentUrl: "OAuth.qml"26 property url creationComponentUrl: "OAuth.qml"
@@ -32,14 +32,11 @@
3232
33 signal finished33 signal finished
3434
35 anchors.left: parent.left35 anchors.fill: parent
36 anchors.right: parent.right
37 contentHeight: contentItem.childrenRect.height
3836
39 Loader {37 Loader {
40 id: loader38 id: loader
41 anchors.left: parent.left39 anchors.fill: parent
42 anchors.right: parent.right
43 source: sourceComponent === null ? (account.accountId != 0 ? editingComponentUrl : creationComponentUrl) : ""40 source: sourceComponent === null ? (account.accountId != 0 ? editingComponentUrl : creationComponentUrl) : ""
44 sourceComponent: account.accountId != 0 ? editingComponent : creationComponent41 sourceComponent: account.accountId != 0 ? editingComponent : creationComponent
4542
4643
=== modified file 'src/qml/AddAccountLabel.qml'
--- src/qml/AddAccountLabel.qml 2013-09-09 10:56:53 +0000
+++ src/qml/AddAccountLabel.qml 2014-03-12 15:20:23 +0000
@@ -20,10 +20,9 @@
20import Ubuntu.Components 0.120import Ubuntu.Components 0.1
21import Ubuntu.Components.ListItems 0.1 as ListItem21import Ubuntu.Components.ListItems 0.1 as ListItem
2222
23Label {23ListItem.Caption {
24 anchors.left: parent.left24 anchors.left: parent.left
25 anchors.right: parent.right25 anchors.right: parent.right
26 anchors.margins: units.gu(2)26 anchors.margins: units.gu(2)
27 text: i18n.tr("Storing account details here lets apps use the accounts without you having to sign in for each app.")27 text: i18n.tr("Storing account details here lets apps use the accounts without you having to sign in for each app.")
28 wrapMode: Text.WordWrap
29}28}
3029
=== modified file 'src/qml/MainPage.qml'
--- src/qml/MainPage.qml 2013-09-09 10:56:53 +0000
+++ src/qml/MainPage.qml 2014-03-12 15:20:23 +0000
@@ -39,7 +39,7 @@
3939
40 Page {40 Page {
41 id: mainPage41 id: mainPage
42 title: i18n.tr("Online Accounts")42 title: i18n.tr("Accounts")
4343
44 Loader {44 Loader {
45 id: loader45 id: loader
4646
=== modified file 'src/qml/ProviderRequest.qml'
--- src/qml/ProviderRequest.qml 2014-02-03 10:27:39 +0000
+++ src/qml/ProviderRequest.qml 2014-03-12 15:20:23 +0000
@@ -47,7 +47,7 @@
4747
48 Page {48 Page {
49 id: mainPage49 id: mainPage
50 title: i18n.tr("Online Accounts")50 title: i18n.tr("Accounts")
5151
52 Loader {52 Loader {
53 id: loader53 id: loader
@@ -115,7 +115,7 @@
115 Component {115 Component {
116 id: createAccountPageComponent116 id: createAccountPageComponent
117 Page {117 Page {
118 title: i18n.tr("Online Accounts")118 title: i18n.tr("Accounts")
119 Loader {119 Loader {
120 anchors.fill: parent120 anchors.fill: parent
121 sourceComponent: accountCreationPage121 sourceComponent: accountCreationPage

Subscribers

People subscribed via source and target branches