folderIcon: Remove duplicated addMenu call

The RenameFolderMenu is added already to its menu manager, so no need to
repeat the operation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720
This commit is contained in:
Marco Trevisan (Treviño) 2019-09-13 05:17:03 +02:00 committed by Florian Müllner
parent 48adb2ef4b
commit 42188b7698

View File

@ -1696,8 +1696,6 @@ var FolderIcon = class FolderIcon {
this.actor.connect('destroy', () => { this.actor.connect('destroy', () => {
Main.overview.disconnect(id); Main.overview.disconnect(id);
}); });
this._menuManager.addMenu(this._menu);
} }
this.actor.set_hover(true); this.actor.set_hover(true);