on xenial help sign in
Hide indicators as well as launcher when session becomes inactive
commit5a3bdf14538d2e2e7b231c306d5809fd3f849eb8 authorMichael Terry <michael.terry@canonical.com> dateWed 21 May 2014, 11:28 (12 years ago) parent2489f1f
1 file changed+10−5
qml/Shell.qml+10−5
qml/Shell.qml+10−5
@@ -393,11 +393,6 @@ BasicShell {
393393 panel.indicators.hide()
394394 }
395395 }
396−
397− Connections {
398− target: SessionManager
399− onActiveChanged: if (!SessionManager.active) launcher.hide()
400− }
401396 }
402397
403398 Rectangle {
@@ -450,6 +445,16 @@ BasicShell {
450445 blockInput: height > 0
451446 }
452447 }
448+
449+ Connections {
450+ target: SessionManager
451+ onActiveChanged: {
452+ if (!SessionManager.active) {
453+ launcher.hide()
454+ panel.indicators.hide()
455+ }
456+ }
457+ }
453458 }
454459
455460 InputFilterArea {