Bug 591077 - Hide overlay when activating an application

It's easier to explicitly call Main.overlay.hide() instead
of chaining activation signals, this got lost in a mix between
the big dash rewrite and ongoing changes to the Application well.
This commit is contained in:
Colin Walters
2009-08-07 13:30:53 -04:00
parent 544a80fc6e
commit 4e23f4cfc9
2 changed files with 3 additions and 3 deletions

View File

@ -380,7 +380,7 @@ GenericDisplay.prototype = {
this._redisplay(true);
},
// Launches the item that is currently selected and emits 'activated' signal.
// Launches the item that is currently selected, closing the overlay
activateSelected: function() {
if (this._selectedIndex != -1) {
let selected = this._findDisplayedByIndex(this._selectedIndex);