[AppWell] Don't add "New Window" item to menus for transient apps
This commit is contained in:
parent
a75b1abc93
commit
0918bdd612
@ -599,9 +599,11 @@ WellMenu.prototype = {
|
|||||||
}
|
}
|
||||||
this._appendWindows(otherWorkspaceWindows, iconsDiffer);
|
this._appendWindows(otherWorkspaceWindows, iconsDiffer);
|
||||||
|
|
||||||
this._appendSeparator();
|
if (!this._source.appInfo.is_transient()) {
|
||||||
|
this._appendSeparator();
|
||||||
|
|
||||||
this._newWindowMenuItem = this._appendMenuItem(null, _("New Window"));
|
this._newWindowMenuItem = this._appendMenuItem(null, _("New Window"));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_appendSeparator: function () {
|
_appendSeparator: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user