From 0a566f70b6db38fcd54953c57b3d012e5445b178 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 25 Jan 2010 14:13:21 -0500 Subject: [PATCH] [AppIcon] Leave overview when launching apps There was an unintentional regression at some point where we ceased leaving the overview when launching applications. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=608062 --- js/ui/appDisplay.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index b9ba04f48..1763be8b9 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -475,11 +475,13 @@ AppWellIcon.prototype = { if (!running) { this.app.launch(); + Main.overview.hide(); } else { let modifiers = Shell.get_event_state(event); if (modifiers & Clutter.ModifierType.CONTROL_MASK) { this.app.launch(); + Main.overview.hide(); } else { this.activateMostRecentWindow(); }