From 7ddf54c4d33672b381467f0000cfd9770241cc62 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Fri, 25 Feb 2011 15:43:43 +0100 Subject: [PATCH] appWellMenu: Show the "new window" item for non running apps There is no reason to not display it, and from a user's point of view the distinction is confusing. --- js/ui/appDisplay.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index a2286d011..91a39151f 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -548,10 +548,9 @@ AppIconMenu.prototype = { let isFavorite = AppFavorites.getAppFavorites().isFavorite(this._source.app.get_id()); - this._newWindowMenuItem = windows.length > 0 ? this._appendMenuItem(_("New Window")) : null; + this._newWindowMenuItem = this._appendMenuItem(_("New Window")); + this._appendSeparator(); - if (windows.length > 0) - this._appendSeparator(); this._toggleFavoriteMenuItem = this._appendMenuItem(isFavorite ? _("Remove from Favorites") : _("Add to Favorites"));