~mterry/unity8/split

« back to all changes in this revision

Viewing changes to qml/Shell.qml

  • Committer: Michael Terry
  • Date: 2014-05-21 15:28:22 UTC
  • Revision ID: michael.terry@canonical.com-20140521152822-k9fqc26feeq821iv
Hide indicators as well as launcher when session becomes inactive

Show diffs side-by-side

added added

removed removed

Lines of Context:
393
393
                    panel.indicators.hide()
394
394
                }
395
395
            }
396
 
 
397
 
            Connections {
398
 
                target: SessionManager
399
 
                onActiveChanged: if (!SessionManager.active) launcher.hide()
400
 
            }
401
396
        }
402
397
 
403
398
        Rectangle {
450
445
                blockInput: height > 0
451
446
            }
452
447
        }
 
448
 
 
449
        Connections {
 
450
            target: SessionManager
 
451
            onActiveChanged: {
 
452
                if (!SessionManager.active) {
 
453
                    launcher.hide()
 
454
                    panel.indicators.hide()
 
455
                }
 
456
            }
 
457
        }
453
458
    }
454
459
 
455
460
    InputFilterArea {