on xenial help sign in
fixed panel try
commitfc79fa9b0f60825ee13fda362ea8f7ddbd8ddcaf authorNick Dedekind <nick.dedekind@canonical.com> dateWed 5 Oct 2016, 21:20 (10 years ago) parent90396d9
2 files changed+5−5
tests/qmltests/ApplicationMenuDataLoader.qml+1−1 tests/qmltests/Panel/tst_Panel.qml+4−4
tests/qmltests/ApplicationMenuDataLoader.qml+1−1
@@ -8,7 +8,7 @@ Object {
88 Connections {
99 target: SurfaceManager
1010 onSurfaceCreated: {
11− var fakeMenuPath = "/" + surface.persistentId.replace(/\W+/g, "");;
11+ var fakeMenuPath = "/" + surface.persistentId.replace(/\W+/g, "");
1212
1313 ApplicationMenuRegistry.RegisterSurfaceMenu(surface.persistentId, fakeMenuPath, fakeMenuPath, ":1");
1414 Indicators.UnityMenuModelCache.setCachedModelData(fakeMenuPath, generateTestData(5, 3, 3, "menu"));
tests/qmltests/Panel/tst_Panel.qml+4−4
@@ -92,9 +92,9 @@ PanelTest {
9292 Indicators.SharedUnityMenuModel {
9393 id: sharedAppModel
9494
95− busName: ":2"
96− menuObjectPath: "/dialerapp"
97− actions: { "unity": "/dialerapp" }
95+ busName: ":1"
96+ menuObjectPath: "/DialerswindowtitleId"
97+ actions: { "unity": "/DialerswindowtitleId" }
9898 }
9999 }
100100 }
@@ -179,7 +179,7 @@ PanelTest {
179179 id: applicationCheckBox
180180 Layout.fillWidth: true
181181 appId: "dialer-app"
182− onCheckedChanged: PanelState.focusedPersistentSurfaceId = checked ? "dialer-app" : "";
182+ onCheckedChanged: PanelState.focusedPersistentSurfaceId = checked ? "Dialers window titleId" : "";
183183 }
184184
185185 Rectangle {