[AppWell] Don't add "New Window" item to menus for transient apps

This commit is contained in:
Dan Winship 2009-09-21 09:25:39 -04:00
parent a75b1abc93
commit 0918bdd612

View File

@ -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 () {