on xenial help sign in
move settings out of the Launcher item
commite17b0ef5bf897fd8f0dad7d0639afd51f51a3e2c authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 18 Dec 2015, 13:05 (11 years ago) parentf4733a9
1 file changed+6−6
qml/Shell.qml+6−6
qml/Shell.qml+6−6
@@ -181,6 +181,11 @@ Item {
181181 onActivated: { launcher.fadeOut(); shell.showHome(); }
182182 }
183183
184+ GSettings {
185+ id: settings
186+ schema.id: "com.canonical.Unity8"
187+ }
188+
184189 Item {
185190 id: stages
186191 objectName: "stages"
@@ -563,12 +568,7 @@ Item {
563568 superPressed: physicalKeysMapper.superPressed
564569 superTabPressed: physicalKeysMapper.superTabPressed
565570 panelWidth: units.gu(launcherSettings.launcherWidth)
566− lockedVisible: shell.usageScenario == "desktop" && !launcherSettings.autohideLauncher
567−
568− GSettings {
569− id: launcherSettings
570− schema.id: "com.canonical.Unity8"
571− }
571+ lockedVisible: shell.usageScenario == "desktop" && !settings.autohideLauncher
572572
573573 onShowDashHome: showHome()
574574 onDash: showDash()