@@ -35,12 +35,20 @@ Item {
35 actions: { "unity": "/com/ubuntu/Menu/0" }
35 actions: { "unity": "/com/ubuntu/Menu/0" }
38+ readonly property bool hasMenus: repeater.count > 0
41 height: parent.height
48 height: parent.height
42 width: parent.width / 2
49 width: parent.width / 2
43 minimizedPanelHeight: units.gu(6)
50 minimizedPanelHeight: units.gu(6)
45 mode: "windowed"
53 mode: "windowed"
@@ -86,6 +94,7 @@ Item {
86 height: parent.height
94 height: parent.height
87 width: parent.width / 2
95 width: parent.width / 2
91 id: menuBar
100 id: menuBar
@@ -100,4 +109,10 @@ Item {
100 theme.name = "Ubuntu.Components.Themes.SuruDark";
109 theme.name = "Ubuntu.Components.Themes.SuruDark";
101 PanelState.title = "Drag here to open touch menu";
110 PanelState.title = "Drag here to open touch menu";
114+ anchors.centerIn: parent
115+ text: "The dbus address you gave has no menus. Make sure you read the README file."