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.
This commit is contained in:
parent
cc72819579
commit
7ddf54c4d3
@ -548,10 +548,9 @@ AppIconMenu.prototype = {
|
|||||||
|
|
||||||
let isFavorite = AppFavorites.getAppFavorites().isFavorite(this._source.app.get_id());
|
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"));
|
||||||
|
|
||||||
if (windows.length > 0)
|
|
||||||
this._appendSeparator();
|
this._appendSeparator();
|
||||||
|
|
||||||
this._toggleFavoriteMenuItem = this._appendMenuItem(isFavorite ? _("Remove from Favorites")
|
this._toggleFavoriteMenuItem = this._appendMenuItem(isFavorite ? _("Remove from Favorites")
|
||||||
: _("Add to Favorites"));
|
: _("Add to Favorites"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user