Commit 7ddf54c4 authored by Adel Gadllah's avatar Adel Gadllah

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.
parent cc728195
......@@ -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"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment