on xenial help sign in
== -> ===
commit18b5d2d57e82608720063c14b9bcb1f52d28782d authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 26 May 2016, 16:53 (10 years ago) parent2192099
23 files changed+43−43
plugins/Dash/CardCreator.js+7−7 tests/plugins/Dash/cardcreator/1.res+2−2 tests/plugins/Dash/cardcreator/1.res.cardcreator+2−2 tests/plugins/Dash/cardcreator/10.res+1−1 tests/plugins/Dash/cardcreator/10.res.cardcreator+1−1 tests/plugins/Dash/cardcreator/11.res+3−3 tests/plugins/Dash/cardcreator/11.res.cardcreator+3−3 tests/plugins/Dash/cardcreator/12.res+2−2 tests/plugins/Dash/cardcreator/12.res.cardcreator+2−2 tests/plugins/Dash/cardcreator/2.res+1−1 tests/plugins/Dash/cardcreator/2.res.cardcreator+1−1 tests/plugins/Dash/cardcreator/3.res+2−2 tests/plugins/Dash/cardcreator/3.res.cardcreator+2−2 tests/plugins/Dash/cardcreator/4.res+1−1 tests/plugins/Dash/cardcreator/4.res.cardcreator+1−1 tests/plugins/Dash/cardcreator/5.res+3−3 tests/plugins/Dash/cardcreator/5.res.cardcreator+3−3 tests/plugins/Dash/cardcreator/6.res+1−1 tests/plugins/Dash/cardcreator/6.res.cardcreator+1−1 tests/plugins/Dash/cardcreator/7.res+1−1 tests/plugins/Dash/cardcreator/7.res.cardcreator+1−1 tests/plugins/Dash/cardcreator/8.res+1−1 tests/plugins/Dash/cardcreator/8.res.cardcreator+1−1
plugins/Dash/CardCreator.js+7−7
@@ -25,7 +25,7 @@ var kBackgroundLoaderCode = 'Loader {\n\
2525 objectName: "backgroundLoader"; \n\
2626 anchors.fill: parent; \n\
2727 asynchronous: %3; \n\
28− visible: status == Loader.Ready; \n\
28+ visible: status === Loader.Ready; \n\
2929 sourceComponent: UbuntuShape { \n\
3030 objectName: "background"; \n\
3131 radius: "medium"; \n\
@@ -90,11 +90,11 @@ var kArtShapeHolderCode = 'Loader { \n\
9090 onCardArtChanged: { if (item) { item.image.source = cardArt; } } \n\
9191 active: cardArt != ""; \n\
9292 asynchronous: %5; \n\
93− visible: status == Loader.Ready; \n\
93+ visible: status === Loader.Ready; \n\
9494 sourceComponent: Item { \n\
9595 id: artShape; \n\
9696 objectName: "artShape"; \n\
97− visible: image.status == Image.Ready; \n\
97+ visible: image.status === Image.Ready; \n\
9898 readonly property alias image: artImage; \n\
9999 %6 \n\
100100 width: root.fixedArtShapeSize.width; \n\
@@ -128,11 +128,11 @@ var kArtShapeHolderCodeCardToolCard = 'Loader { \n\
128128 onCardArtChanged: { if (item) { item.image.source = cardArt; } } \n\
129129 active: cardArt != ""; \n\
130130 asynchronous: %5; \n\
131− visible: status == Loader.Ready; \n\
131+ visible: status === Loader.Ready; \n\
132132 sourceComponent: Item { \n\
133133 id: artShape; \n\
134134 objectName: "artShape"; \n\
135− visible: image.status == Image.Ready; \n\
135+ visible: image.status === Image.Ready; \n\
136136 readonly property alias image: artImage; \n\
137137 %6 \n\
138138 width: image.status !== Image.Ready ? 0 : image.width; \n\
@@ -206,7 +206,7 @@ var kOverlayLoaderCode = 'Loader { \n\
206206 anchors.fill: artShapeLoader; \n\
207207 active: artShapeLoader.active && artShapeLoader.item && artShapeLoader.item.image.status === Image.Ready || false; \n\
208208 asynchronous: %1; \n\
209− visible: showHeader && status == Loader.Ready; \n\
209+ visible: showHeader && status === Loader.Ready; \n\
210210 sourceComponent: UbuntuShapeOverlay { \n\
211211 id: overlay; \n\
212212 property real luminance: Style.luminance(overlayColor); \n\
@@ -263,7 +263,7 @@ var kMascotShapeLoaderCode = 'Loader { \n\
263263 objectName: "mascotShapeLoader"; \n\
264264 asynchronous: %2; \n\
265265 active: mascotImage.status === Image.Ready; \n\
266− visible: showHeader && active && status == Loader.Ready; \n\
266+ visible: showHeader && active && status === Loader.Ready; \n\
267267 width: units.gu(6); \n\
268268 height: units.gu(5.625); \n\
269269 sourceComponent: UbuntuShape { image: mascotImage } \n\
tests/plugins/Dash/cardcreator/1.res+2−2
@@ -20,11 +20,11 @@ Loader {
2020 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
2121 active: cardArt != "";
2222 asynchronous: true;
23− visible: status == Loader.Ready;
23+ visible: status === Loader.Ready;
2424 sourceComponent: Item {
2525 id: artShape;
2626 objectName: "artShape";
27− visible: image.status == Image.Ready;
27+ visible: image.status === Image.Ready;
2828 readonly property alias image: artImage;
2929 UbuntuShape {
3030 anchors.fill: parent;
tests/plugins/Dash/cardcreator/1.res.cardcreator+2−2
@@ -18,11 +18,11 @@ Loader {
1818 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
1919 active: cardArt != "";
2020 asynchronous: false;
21− visible: status == Loader.Ready;
21+ visible: status === Loader.Ready;
2222 sourceComponent: Item {
2323 id: artShape;
2424 objectName: "artShape";
25− visible: image.status == Image.Ready;
25+ visible: image.status === Image.Ready;
2626 readonly property alias image: artImage;
2727 UbuntuShape {
2828 anchors.fill: parent;
tests/plugins/Dash/cardcreator/10.res+1−1
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
tests/plugins/Dash/cardcreator/10.res.cardcreator+1−1
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";
tests/plugins/Dash/cardcreator/11.res+3−3
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
@@ -58,11 +58,11 @@ Loader {
5858 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
5959 active: cardArt != "";
6060 asynchronous: true;
61− visible: status == Loader.Ready;
61+ visible: status === Loader.Ready;
6262 sourceComponent: Item {
6363 id: artShape;
6464 objectName: "artShape";
65− visible: image.status == Image.Ready;
65+ visible: image.status === Image.Ready;
6666 readonly property alias image: artImage;
6767 UbuntuShape {
6868 anchors.fill: parent;
tests/plugins/Dash/cardcreator/11.res.cardcreator+3−3
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";
@@ -56,11 +56,11 @@ Loader {
5656 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
5757 active: cardArt != "";
5858 asynchronous: false;
59− visible: status == Loader.Ready;
59+ visible: status === Loader.Ready;
6060 sourceComponent: Item {
6161 id: artShape;
6262 objectName: "artShape";
63− visible: image.status == Image.Ready;
63+ visible: image.status === Image.Ready;
6464 readonly property alias image: artImage;
6565 UbuntuShape {
6666 anchors.fill: parent;
tests/plugins/Dash/cardcreator/12.res+2−2
@@ -20,11 +20,11 @@ Loader {
2020 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
2121 active: cardArt != "";
2222 asynchronous: true;
23− visible: status == Loader.Ready;
23+ visible: status === Loader.Ready;
2424 sourceComponent: Item {
2525 id: artShape;
2626 objectName: "artShape";
27− visible: image.status == Image.Ready;
27+ visible: image.status === Image.Ready;
2828 readonly property alias image: artImage;
2929 UbuntuShape {
3030 anchors.fill: parent;
tests/plugins/Dash/cardcreator/12.res.cardcreator+2−2
@@ -18,11 +18,11 @@ Loader {
1818 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
1919 active: cardArt != "";
2020 asynchronous: false;
21− visible: status == Loader.Ready;
21+ visible: status === Loader.Ready;
2222 sourceComponent: Item {
2323 id: artShape;
2424 objectName: "artShape";
25− visible: image.status == Image.Ready;
25+ visible: image.status === Image.Ready;
2626 readonly property alias image: artImage;
2727 UbuntuShape {
2828 anchors.fill: parent;
tests/plugins/Dash/cardcreator/2.res+1−1
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
tests/plugins/Dash/cardcreator/2.res.cardcreator+1−1
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";
tests/plugins/Dash/cardcreator/3.res+2−2
@@ -20,11 +20,11 @@ Loader {
2020 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
2121 active: cardArt != "";
2222 asynchronous: true;
23− visible: status == Loader.Ready;
23+ visible: status === Loader.Ready;
2424 sourceComponent: Item {
2525 id: artShape;
2626 objectName: "artShape";
27− visible: image.status == Image.Ready;
27+ visible: image.status === Image.Ready;
2828 readonly property alias image: artImage;
2929 ProportionalShape {
3030 anchors.fill: parent;
tests/plugins/Dash/cardcreator/3.res.cardcreator+2−2
@@ -18,11 +18,11 @@ Loader {
1818 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
1919 active: cardArt != "";
2020 asynchronous: false;
21− visible: status == Loader.Ready;
21+ visible: status === Loader.Ready;
2222 sourceComponent: Item {
2323 id: artShape;
2424 objectName: "artShape";
25− visible: image.status == Image.Ready;
25+ visible: image.status === Image.Ready;
2626 readonly property alias image: artImage;
2727 ProportionalShape {
2828 anchors.fill: parent;
tests/plugins/Dash/cardcreator/4.res+1−1
@@ -32,7 +32,7 @@ Loader {
3232 objectName: "mascotShapeLoader";
3333 asynchronous: true;
3434 active: mascotImage.status === Image.Ready;
35− visible: showHeader && active && status == Loader.Ready;
35+ visible: showHeader && active && status === Loader.Ready;
3636 width: units.gu(6);
3737 height: units.gu(5.625);
3838 sourceComponent: UbuntuShape { image: mascotImage }
tests/plugins/Dash/cardcreator/4.res.cardcreator+1−1
@@ -29,7 +29,7 @@ Loader {
2929 objectName: "mascotShapeLoader";
3030 asynchronous: false;
3131 active: mascotImage.status === Image.Ready;
32− visible: showHeader && active && status == Loader.Ready;
32+ visible: showHeader && active && status === Loader.Ready;
3333 width: units.gu(6);
3434 height: units.gu(5.625);
3535 sourceComponent: UbuntuShape { image: mascotImage }
tests/plugins/Dash/cardcreator/5.res+3−3
@@ -20,11 +20,11 @@ Loader {
2020 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
2121 active: cardArt != "";
2222 asynchronous: true;
23− visible: status == Loader.Ready;
23+ visible: status === Loader.Ready;
2424 sourceComponent: Item {
2525 id: artShape;
2626 objectName: "artShape";
27− visible: image.status == Image.Ready;
27+ visible: image.status === Image.Ready;
2828 readonly property alias image: artImage;
2929 width: root.fixedArtShapeSize.width;
3030 height: root.fixedArtShapeSize.height;
@@ -45,7 +45,7 @@ Loader {
4545 anchors.fill: artShapeLoader;
4646 active: artShapeLoader.active && artShapeLoader.item && artShapeLoader.item.image.status === Image.Ready || false;
4747 asynchronous: true;
48− visible: showHeader && status == Loader.Ready;
48+ visible: showHeader && status === Loader.Ready;
4949 sourceComponent: UbuntuShapeOverlay {
5050 id: overlay;
5151 property real luminance: Style.luminance(overlayColor);
tests/plugins/Dash/cardcreator/5.res.cardcreator+3−3
@@ -18,11 +18,11 @@ Loader {
1818 onCardArtChanged: { if (item) { item.image.source = cardArt; } }
1919 active: cardArt != "";
2020 asynchronous: false;
21− visible: status == Loader.Ready;
21+ visible: status === Loader.Ready;
2222 sourceComponent: Item {
2323 id: artShape;
2424 objectName: "artShape";
25− visible: image.status == Image.Ready;
25+ visible: image.status === Image.Ready;
2626 readonly property alias image: artImage;
2727 width: image.status !== Image.Ready ? 0 : image.width;
2828 height: image.status !== Image.Ready ? 0 : image.height;
@@ -43,7 +43,7 @@ Loader {
4343 anchors.fill: artShapeLoader;
4444 active: artShapeLoader.active && artShapeLoader.item && artShapeLoader.item.image.status === Image.Ready || false;
4545 asynchronous: false;
46− visible: showHeader && status == Loader.Ready;
46+ visible: showHeader && status === Loader.Ready;
4747 sourceComponent: UbuntuShapeOverlay {
4848 id: overlay;
4949 property real luminance: Style.luminance(overlayColor);
tests/plugins/Dash/cardcreator/6.res+1−1
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
tests/plugins/Dash/cardcreator/6.res.cardcreator+1−1
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";
tests/plugins/Dash/cardcreator/7.res+1−1
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
tests/plugins/Dash/cardcreator/7.res.cardcreator+1−1
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";
tests/plugins/Dash/cardcreator/8.res+1−1
@@ -16,7 +16,7 @@ Loader {
1616 objectName: "backgroundLoader";
1717 anchors.fill: parent;
1818 asynchronous: true;
19− visible: status == Loader.Ready;
19+ visible: status === Loader.Ready;
2020 sourceComponent: UbuntuShape {
2121 objectName: "background";
2222 radius: "medium";
tests/plugins/Dash/cardcreator/8.res.cardcreator+1−1
@@ -14,7 +14,7 @@ Loader {
1414 objectName: "backgroundLoader";
1515 anchors.fill: parent;
1616 asynchronous: false;
17− visible: status == Loader.Ready;
17+ visible: status === Loader.Ready;
1818 sourceComponent: UbuntuShape {
1919 objectName: "background";
2020 radius: "medium";