Codebase list gnome-shell-extension-desktop-icons / 08ff9cd
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
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
561561 this._actionCut = this._menu.addAction(_('Cut'), () => this._onCutClicked());
562562 this._actionCopy = this._menu.addAction(_('Copy'), () => this._onCopyClicked());
563563 if (this.canRename())
564 this._menu.addAction(_('Rename'), () => this.doRename());
564 this._menu.addAction(_('Renameā€¦'), () => this.doRename());
565565 this._actionTrash = this._menu.addAction(_('Move to Trash'), () => this._onMoveToTrashClicked());
566566 if (this._isDesktopFile && !Extension.desktopManager.writableByOthers && !this._writableByOthers) {
567567 this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());