summaryrefslogtreecommitdiffstats
path: root/ash/shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell.cc')
-rw-r--r--ash/shell.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ash/shell.cc b/ash/shell.cc
index 77678e0..9663ff9 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -604,9 +604,17 @@ void Shell::CreateLauncher() {
if (panel_layout_manager_)
panel_layout_manager_->SetLauncher(launcher_.get());
+ if (delegate())
+ launcher_->SetVisible(delegate()->IsSessionStarted());
launcher_->widget()->Show();
}
+void Shell::ShowLauncher() {
+ if (!launcher_.get())
+ return;
+ launcher_->SetVisible(true);
+}
+
void Shell::AddShellObserver(ShellObserver* observer) {
observers_.AddObserver(observer);
}