on xenial help sign in
we don't do the network thing anymore
57319ccAlbert Astals
debian/control−1
@@ -174,7 +174,6 @@ Depends: accountsservice-ubuntu-schemas (>= 0.0.3),
174 libhardware2,
174 libhardware2,
175 unity-schemas (>= 7.3.1+14.10.20140915),
175 unity-schemas (>= 7.3.1+14.10.20140915),
176 pay-service,
176 pay-service,
177− qml-module-ubuntu-connectivity,
178 ${misc:Depends},
177 ${misc:Depends},
179 ${shlibs:Depends},
178 ${shlibs:Depends},
180Provides: unity-launcher-impl,
179Provides: unity-launcher-impl,
qml/Dash/CardGrid.qml−1
@@ -52,7 +52,6 @@ DashRenderer {
52 displayMarginEnd: root.displayMarginEnd
52 displayMarginEnd: root.displayMarginEnd
53 cacheBuffer: 0
53 cacheBuffer: 0
54 interactive: false
54 interactive: false
55−
56 delegate: Item {
55 delegate: Item {
57 width: grid.cellWidth
56 width: grid.cellWidth
58 height: grid.cellHeight
57 height: grid.cellHeight
tests/qmltests/Dash/tst_Card.qml−22
@@ -17,7 +17,6 @@
17import QtQuick 2.0
17import QtQuick 2.0
18import QtTest 1.0
18import QtTest 1.0
19import Ubuntu.Components 0.1
19import Ubuntu.Components 0.1
20−import Ubuntu.Connectivity 1.0
21import Unity.Test 0.1 as UT
20import Unity.Test 0.1 as UT
22import "../../../qml/Dash"
21import "../../../qml/Dash"
23import "CardHelpers.js" as Helpers
22import "CardHelpers.js" as Helpers
@@ -208,7 +207,6 @@ Rectangle {
208
207
209 function init() {
208 function init() {
210 loader.visible = true;
209 loader.visible = true;
211− NetworkingStatus.limitedBandwith = false;
212 }
210 }
213
211
214 function cleanup() {
212 function cleanup() {
@@ -572,25 +570,5 @@ Rectangle {
572 verify((card.width - titleToCard.x - titleToCard.width) === units.gu(1));
570 verify((card.width - titleToCard.x - titleToCard.width) === units.gu(1));
573 }
571 }
574 }
572 }
575−
576− function test_load_images_visibility_network_data() {
577− return [
578− { tag: "Visible, network", visible: true, limitedBandwith: false },
579− { tag: "Visible, no network", visible: true, limitedBandwith: true },
580− { tag: "Not Visible, network", visible: false, limitedBandwith: false },
581− { tag: "Not Visible, no network", visible: false, limitedBandwith: true }
582− ];
583− }
584−
585− function test_load_images_visibility_network(data) {
586− loader.visible = data.visible;
587− NetworkingStatus.limitedBandwith = data.limitedBandwith;
588−
589− selector.selectedIndex = 0;
590− waitForRendering(selector);
591− waitForRendering(card);
592−
593− verify(data.visible || !data.limitedBandwith || artImage.source == "");
594− }
595 }
573 }
596}
574}