on xenial help sign in
fixed panel try
fc79fa9Nick Dedekind
tests/qmltests/ApplicationMenuDataLoader.qml+1−1
@@ -8,7 +8,7 @@ Object {
8 Connections {
8 Connections {
9 target: SurfaceManager
9 target: SurfaceManager
10 onSurfaceCreated: {
10 onSurfaceCreated: {
11− var fakeMenuPath = "/" + surface.persistentId.replace(/\W+/g, "");;
11+ var fakeMenuPath = "/" + surface.persistentId.replace(/\W+/g, "");
12
12
13 ApplicationMenuRegistry.RegisterSurfaceMenu(surface.persistentId, fakeMenuPath, fakeMenuPath, ":1");
13 ApplicationMenuRegistry.RegisterSurfaceMenu(surface.persistentId, fakeMenuPath, fakeMenuPath, ":1");
14 Indicators.UnityMenuModelCache.setCachedModelData(fakeMenuPath, generateTestData(5, 3, 3, "menu"));
14 Indicators.UnityMenuModelCache.setCachedModelData(fakeMenuPath, generateTestData(5, 3, 3, "menu"));
tests/qmltests/Panel/tst_Panel.qml+4−4
@@ -92,9 +92,9 @@ PanelTest {
92 Indicators.SharedUnityMenuModel {
92 Indicators.SharedUnityMenuModel {
93 id: sharedAppModel
93 id: sharedAppModel
94
94
95− busName: ":2"
95+ busName: ":1"
96− menuObjectPath: "/dialerapp"
96+ menuObjectPath: "/DialerswindowtitleId"
97− actions: { "unity": "/dialerapp" }
97+ actions: { "unity": "/DialerswindowtitleId" }
98 }
98 }
99 }
99 }
100 }
100 }
@@ -179,7 +179,7 @@ PanelTest {
179 id: applicationCheckBox
179 id: applicationCheckBox
180 Layout.fillWidth: true
180 Layout.fillWidth: true
181 appId: "dialer-app"
181 appId: "dialer-app"
182− onCheckedChanged: PanelState.focusedPersistentSurfaceId = checked ? "dialer-app" : "";
182+ onCheckedChanged: PanelState.focusedPersistentSurfaceId = checked ? "Dialers window titleId" : "";
183 }
183 }
184
184
185 Rectangle {
185 Rectangle {