fileItem: Add ellipsis to "Rename"
Following design guidance. Since rename has a further action after
clicking, we put ellipsis on those.
Carlos Soriano
5 years ago
561 | 561 | this._actionCut = this._menu.addAction(_('Cut'), () => this._onCutClicked()); |
562 | 562 | this._actionCopy = this._menu.addAction(_('Copy'), () => this._onCopyClicked()); |
563 | 563 | if (this.canRename()) |
564 | this._menu.addAction(_('Rename'), () => this.doRename()); | |
564 | this._menu.addAction(_('Renameā¦'), () => this.doRename()); | |
565 | 565 | this._actionTrash = this._menu.addAction(_('Move to Trash'), () => this._onMoveToTrashClicked()); |
566 | 566 | if (this._isDesktopFile && !Extension.desktopManager.writableByOthers && !this._writableByOthers) { |
567 | 567 | this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); |